[Mlir-commits] [mlir] [mlir][gpu] Allow integer attribute as `dynamic_shared_memory_size` (PR #71509)
Nicolas Vasilache
llvmlistbot at llvm.org
Tue Nov 7 02:56:39 PST 2023
================
@@ -587,7 +587,8 @@ def GPU_LaunchOp : GPU_Op<"launch", [
Arguments<(ins Variadic<GPU_AsyncToken>:$asyncDependencies,
Index:$gridSizeX, Index:$gridSizeY, Index:$gridSizeZ,
Index:$blockSizeX, Index:$blockSizeY, Index:$blockSizeZ,
- Optional<I32>:$dynamicSharedMemorySize)>,
+ Optional<I32>:$dynamicSharedMemorySize,
+ OptionalAttr<SI32Attr>:$dynamicSharedMemorySizeConstant)>,
----------------
nicolasvasilache wrote:
Why not just I32Attr ?
https://github.com/llvm/llvm-project/pull/71509
More information about the Mlir-commits
mailing list