From e0562e4922035084794bee0cea5d15c55b3f26d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Scipione?= <9421873+s-Nick@users.noreply.github.com> Date: Mon, 6 Nov 2023 11:17:06 +0100 Subject: [PATCH] Fix bug in omatcopy_batch and omatadd_batch operators (#476) --- src/operations/extension/matcopy_batch.hpp | 6 +++--- test/unittest/extension/omatadd_batched_test.cpp | 4 ++-- test/unittest/extension/omatcopy_batched_test.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/operations/extension/matcopy_batch.hpp b/src/operations/extension/matcopy_batch.hpp index 28ccb7620..8ff3923d6 100644 --- a/src/operations/extension/matcopy_batch.hpp +++ b/src/operations/extension/matcopy_batch.hpp @@ -86,7 +86,7 @@ Matcopy_batch= TileSize) && (n - wg_col >= TileSize); @@ -151,8 +151,8 @@ Matcopy_batch= TileSize) && (n - wg_col >= TileSize); diff --git a/test/unittest/extension/omatadd_batched_test.cpp b/test/unittest/extension/omatadd_batched_test.cpp index e13b822e5..d0ce57751 100644 --- a/test/unittest/extension/omatadd_batched_test.cpp +++ b/test/unittest/extension/omatadd_batched_test.cpp @@ -160,8 +160,8 @@ const auto combi = ::testing::Values('n', 't'), // trans_b ::testing::Values(64, 129, 255), // m ::testing::Values(64, 129, 255), // n - ::testing::Values(2), // alpha - ::testing::Values(2), // beta + ::testing::Values(2.5), // alpha + ::testing::Values(3.5), // beta ::testing::Values(1, 2), // lda_mul ::testing::Values(1, 2), // ldb_mul ::testing::Values(1, 2, 3), // ldc_mul diff --git a/test/unittest/extension/omatcopy_batched_test.cpp b/test/unittest/extension/omatcopy_batched_test.cpp index 94fb91d53..e15b8405e 100644 --- a/test/unittest/extension/omatcopy_batched_test.cpp +++ b/test/unittest/extension/omatcopy_batched_test.cpp @@ -134,7 +134,7 @@ const auto combi = ::testing::Values('n', 't'), // trans ::testing::Values(64, 129, 255), // m ::testing::Values(64, 129, 255), // n - ::testing::Values(0, 2), // alpha + ::testing::Values(0, 2.5), // alpha ::testing::Values(1, 2, 3), // ld_in_m ::testing::Values(1, 2, 3), // ld_out_m ::testing::Values(1, 3), // stride_in_m