diff --git a/include/cute/atom/copy_traits_xe_2d.hpp b/include/cute/atom/copy_traits_xe_2d.hpp index 7f47c81c2e..60876df697 100644 --- a/include/cute/atom/copy_traits_xe_2d.hpp +++ b/include/cute/atom/copy_traits_xe_2d.hpp @@ -930,7 +930,6 @@ auto make_block_2d_copy_D(TiledMMA const& mma, // TiledMMA instance Tensor const& gmem) // Global tensor { - static_assert(is_xe_block_2d_atom_v, "Expected a block 2D atom"); using ValType = typename GEngine::value_type; return make_block_2d_copy_D(mma, gmem.stride()).with(gmem); } @@ -942,6 +941,7 @@ make_block_2d_copy_CD(CopyOp const& op, // Copy operation TiledMMA const& mma, // TiledMMA instance Tensor const& gmem) // Global tensor { + static_assert(is_xe_block_2d_atom_v, "Expected a block 2D atom"); using ValType = typename GEngine::value_type; return make_block_2d_copy_CD(op, mma, gmem.stride()).with(gmem); }