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

Mehdi Amini llvmlistbot at llvm.org
Tue Nov 7 08:05:58 PST 2023


================
@@ -735,18 +735,15 @@ def GPU_LaunchOp : GPU_Op<"launch", [
     }
 
     static int getDynamicSharedMemorySizeDynamicValue() { 
-      return std::numeric_limits<int32_t>::min(); 
+      return std::numeric_limits<uint32_t>::max(); 
     }
     /// Returns a value of the dynamic shared memory size. 
     /// If it is a constant, it builds one
----------------
joker-eph wrote:

Update the comment

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


More information about the Mlir-commits mailing list