[Mlir-commits] [mlir] [mlir][gpu] Allow integer attribute as `dynamic_shared_memory_size` (PR #71509)

Guray Ozen llvmlistbot at llvm.org
Wed Nov 8 00:30:10 PST 2023


================
@@ -634,7 +635,9 @@ void LaunchOp::build(OpBuilder &builder, OperationState &result,
                       getBlockSizeY, getBlockSizeZ});
   if (dynamicSharedMemorySize)
     result.addOperands(dynamicSharedMemorySize);
-
+  if (dynamicSharedMemorySizeAttr)
----------------
grypp wrote:

Good point! I've added a verifier. 

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


More information about the Mlir-commits mailing list