[Mlir-commits] [mlir] [MLIR][GPU] Add support for non-portable cluster size attribute (PR #95545)

Guray Ozen llvmlistbot at llvm.org
Fri Jun 14 06:44:16 PDT 2024


================
@@ -544,7 +544,8 @@ def GPU_LaunchFuncOp :GPU_Op<"launch_func", [
                Optional<LaunchIndx>:$clusterSizeZ,
                Optional<I32>:$dynamicSharedMemorySize,
                Variadic<AnyType>:$kernelOperands,
-               Optional<AnyType>:$asyncObject)>,
+               Optional<AnyType>:$asyncObject,
+               OptionalAttr<BoolAttr>:$nonPortableClusterSize)>,
----------------
grypp wrote:

```suggestion
               OptionalAttr<UnitAttr>:$nonPortableClusterSize)>,
```

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


More information about the Mlir-commits mailing list