Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions python/CuTeDSL/cutlass/cute/nvgpu/warpgroup/mma.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ class MmaOp(WarpGroupMmaOp):
def __post_init__(self) -> None:
# Verify arch
arch = BaseDSL._get_dsl().get_arch_enum()
if not arch == Arch.sm_90a:
if not arch.is_family_of(Arch.sm_90a):
raise OpError(
self,
f"expects arch to be {Arch.sm_90a}, but got {arch}",
f"expects arch to be in the SM90 family, but got {arch}",
suggestion="Ensure env CUTE_DSL_ARCH matches your GPU architecture",
)
# Verify that the user provided enum values
Expand Down