mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-07-14 11:07:44 +00:00
Add static assert.
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user