From e20430794da11f2ca0df782846aa3cc3704317fb Mon Sep 17 00:00:00 2001 From: Jianfeng Yan Date: Thu, 31 Mar 2022 08:50:30 -0500 Subject: [PATCH] fixed issue164 (#165) * fixed issue164 * removed prints [ROCm/composable_kernel commit: ecf337bab5c23708d80a4c537c6b49dbda6e23b2] --- .../tensor_operation/gpu/device/device_batched_gemm_xdl.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/ck/tensor_operation/gpu/device/device_batched_gemm_xdl.hpp b/include/ck/tensor_operation/gpu/device/device_batched_gemm_xdl.hpp index e21a5cb335..a5f4b75127 100644 --- a/include/ck/tensor_operation/gpu/device/device_batched_gemm_xdl.hpp +++ b/include/ck/tensor_operation/gpu/device/device_batched_gemm_xdl.hpp @@ -129,7 +129,7 @@ struct DeviceBatchedGemmXdl } else if constexpr(is_same::value) { - return make_naive_tensor_descriptor(make_tuple(M, K), make_tuple(I1, M)); + return make_naive_tensor_descriptor(make_tuple(M, K), make_tuple(I1, StrideA)); } }(); @@ -158,7 +158,7 @@ struct DeviceBatchedGemmXdl } else if constexpr(is_same::value) { - return make_naive_tensor_descriptor(make_tuple(K, N), make_tuple(I1, K)); + return make_naive_tensor_descriptor(make_tuple(K, N), make_tuple(I1, StrideB)); } }(); @@ -183,7 +183,7 @@ struct DeviceBatchedGemmXdl } else if constexpr(is_same::value) { - return make_naive_tensor_descriptor(make_tuple(M, N), make_tuple(I1, M)); + return make_naive_tensor_descriptor(make_tuple(M, N), make_tuple(I1, StrideC)); } }();