From ae5803e284efea01ac3d96424809b15d932d709a Mon Sep 17 00:00:00 2001 From: Illia Silin <98187287+illsilin@users.noreply.github.com> Date: Thu, 8 Dec 2022 09:48:43 -0800 Subject: [PATCH] Make sure that GEMM sizes in K dimension are supported. (#527) * apply new K-dimension check in gemm_xdl_cshuffle * add K-dim check to gemm_xdl and batched_gemm_xdl * fix syntax * fix syntax * clean-up the debug output [ROCm/composable_kernel commit: d58b7f5155b44c8b608f3edc6a6eab314493ec1a] --- .../gpu/device/impl/device_batched_gemm_xdl.hpp | 11 ++++++++++- .../device_conv2d_bwd_data_xdl_nhwc_kyxc_nhwk.hpp | 2 ++ .../gpu/device/impl/device_gemm_xdl.hpp | 9 ++++++++- .../gpu/device/impl/device_gemm_xdl_cshuffle.hpp | 13 ++++++++++++- 4 files changed, 32 insertions(+), 3 deletions(-) diff --git a/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_xdl.hpp b/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_xdl.hpp index 7ca5ef72a1..5ea3296356 100644 --- a/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_xdl.hpp +++ b/include/ck/tensor_operation/gpu/device/impl/device_batched_gemm_xdl.hpp @@ -373,7 +373,8 @@ struct DeviceBatchedGemmXdl : public DeviceBatchedGemm