Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Update test for copy operators
Browse files Browse the repository at this point in the history
Update test to properly check floating points values for alpha and beta.
  • Loading branch information
s-Nick committed Oct 31, 2023
1 parent a601e30 commit b165505
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/unittest/extension/omatadd_batched_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ const auto combi =
::testing::Values<char>('n', 't'), // trans_b
::testing::Values<index_t>(64, 129, 255), // m
::testing::Values<index_t>(64, 129, 255), // n
::testing::Values<scalar_t>(2), // alpha
::testing::Values<scalar_t>(2), // beta
::testing::Values<scalar_t>(2.5), // alpha
::testing::Values<scalar_t>(3.5), // beta
::testing::Values<index_t>(1, 2), // lda_mul
::testing::Values<index_t>(1, 2), // ldb_mul
::testing::Values<index_t>(1, 2, 3), // ldc_mul
Expand Down
2 changes: 1 addition & 1 deletion test/unittest/extension/omatcopy_batched_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const auto combi =
::testing::Values<char>('n', 't'), // trans
::testing::Values<index_t>(64, 129, 255), // m
::testing::Values<index_t>(64, 129, 255), // n
::testing::Values<scalar_t>(0, 2), // alpha
::testing::Values<scalar_t>(0, 2.5), // alpha
::testing::Values<index_t>(1, 2, 3), // ld_in_m
::testing::Values<index_t>(1, 2, 3), // ld_out_m
::testing::Values<index_t>(1, 3), // stride_in_m
Expand Down

0 comments on commit b165505

Please sign in to comment.