[Mlir-commits] [llvm] [mlir] [MLIR][NVVM] Add NVVMRequiresSM op trait (PR #126886)

Guray Ozen llvmlistbot at llvm.org
Mon Mar 17 10:37:06 PDT 2025


================
@@ -2358,8 +2362,8 @@ def NVVM_WgmmaFenceAlignedOp : NVVM_Op<"wgmma.fence.aligned"> {
   }];
 }
 
-def NVVM_WgmmaGroupSyncAlignedOp : NVVM_Op<"wgmma.commit.group.sync.aligned">,
-  Arguments<(ins )> {
+def NVVM_WgmmaGroupSyncAlignedOp : NVVM_Op<"wgmma.commit.group.sync.aligned",  
+                              [NVVMRequiresSM<90, /*ArchAccelerated*/"true">]> {
----------------
grypp wrote:

Should we mark at least all sm90? So we have at least a good test coverage 

https://github.com/llvm/llvm-project/pull/126886


More information about the Mlir-commits mailing list