diff --git a/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_multiple_abd_xdl_cshuffle.hpp b/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_multiple_abd_xdl_cshuffle.hpp index cc343f6f69..26d3d4a7bd 100644 --- a/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_multiple_abd_xdl_cshuffle.hpp +++ b/include/ck/tensor_operation/gpu/device/impl/device_grouped_conv_fwd_multiple_abd_xdl_cshuffle.hpp @@ -325,6 +325,8 @@ struct DeviceGroupedConvFwdMultipleABD_Xdl_CShuffle BComputeDataType> { using DeviceOp = DeviceGroupedConvFwdMultipleABD_Xdl_CShuffle; + static_assert(MXdlPerWave > 0 && NXdlPerWave > 0, "Invalid MXdlPerWave or NXdlPerWave"); + static_assert(MPerXDL > 0 && NPerXDL > 0, "Invalid MPerXDL or NPerXDL"); GET_MXDL_PER_WAVE_IMPL // Force usage of 16x16 instruction for WMMA static constexpr bool Wave32Force16MNPerXDL =