Skip to content

Commit

Permalink
update SGMatrix_matrix_product_in_place unittest
Browse files Browse the repository at this point in the history
ViennaCL ref result values are updated based on Eigen3 test
  • Loading branch information
OXPHOS committed Mar 17, 2017
1 parent 33512a5 commit 9343f41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -427,7 +427,7 @@ TEST(LinalgBackendEigen, SGMatrix_matrix_product_in_place)
for (index_t i = 0; i < dim1*dim2; ++i)
A[i] = i;
for (index_t i = 0; i < dim2*dim3; ++i)
B[i] = 0.5*i;
B[i] = 0.5 * i;
cal.zero();

linalg::matrix_prod(A, B, cal);
Expand Down
Expand Up @@ -335,7 +335,7 @@ TEST(LinalgBackendViennaCL, SGMatrix_matrix_product_in_place)
for (index_t i = 0; i < dim1*dim2; ++i)
A[i] = i;
for (index_t i = 0; i < dim2*dim3; ++i)
B[i] = 2*i;
B[i] = 0.5 * i;
cal.zero();

to_gpu(A, A_gpu);
Expand Down

0 comments on commit 9343f41

Please sign in to comment.