mirror of
https://github.com/amd/blis.git
synced 2026-04-20 15:48:50 +00:00
Fixed Bug in test_scalv
- Since bli_obj_length(&a) is being used to get the length of A vector, we need to initialize A as a vector of M x 1 dimension as the bli_obj_length(...) will return the M dimension of the object. - The vector was being initialized with a dimension of 1 x N resulting in bli_obj_length(&a) always returning 1 as the length of the vector. AMD-Internal: [CPUPL-6297] Change-Id: Id0e79752f9b81c1573deda3dd32ef0fef10df50c
This commit is contained in:
committed by
Arnav Sharma
parent
a80436ab21
commit
2f2741f4ab
@@ -93,7 +93,7 @@ int main(int argc, char** argv)
|
||||
|
||||
|
||||
bli_obj_create(dt, 1, 1, 0, 0, &alpha);
|
||||
bli_obj_create(dt, 1, n, 0, 0, &a);
|
||||
bli_obj_create(dt, n, 1, 0, 0, &a);
|
||||
|
||||
bli_randm(&a);
|
||||
bli_setsc((2.0), 0.0, &alpha);
|
||||
|
||||
Reference in New Issue
Block a user