diff --git a/include/cute/atom/mma_atom.hpp b/include/cute/atom/mma_atom.hpp index a96291e138..1c9c0d996b 100644 --- a/include/cute/atom/mma_atom.hpp +++ b/include/cute/atom/mma_atom.hpp @@ -658,6 +658,7 @@ struct TiledMMAHelper{ private: using AtomShape = typename MMA_Atom::Shape_MNK; + static_assert(size(WarpLayout{}) == cosize(WarpLayout{}), "Invalid WarpLayout: not a packed warp layout"); // Represents the canonical MMA block which would be handled by these subgroups without permutation. // product_each(shape(...)) converts the layout into a tiler by taking only the shapes // e.g. (8,8):(1,8) -> 64