diff --git a/include/cute/atom/copy_traits_xe_2d.hpp b/include/cute/atom/copy_traits_xe_2d.hpp index 60876df697..cf25b3fe9d 100644 --- a/include/cute/atom/copy_traits_xe_2d.hpp +++ b/include/cute/atom/copy_traits_xe_2d.hpp @@ -981,6 +981,7 @@ make_block_2d_copy_CD(CopyOp const& op, // Copy operation TiledMMA const& mma, // TiledMMA instance Stride const& gstride) // Global memory strides { + static_assert(is_xe_block_2d_atom_v, "Expected a block 2D atom"); return make_block_2d_copy_CD(op, mma, gstride, find_x_mode(gstride), find_y_mode(gstride)); }