[Mlir-commits] [mlir] [mlir][acc] Introduce acc data bounds	accessors (PR #156545)
    Valentin Clement バレンタイン クレメン 
    llvmlistbot at llvm.org
       
    Wed Sep  3 10:49:32 PDT 2025
    
    
  
================
@@ -1180,30 +1258,48 @@ def OpenACC_PrivateRecipeOp
       1. The initializer region specifies how to allocate and initialize a new
          private value. For example in Fortran, a derived-type might have a
          default initialization. The region has an argument that contains the
-         value that need to be privatized. This is useful if the type is not
-         known at compile time and the private value is needed to create its
-         copy.
+         original value that needs to be privatized, followed by bounds arguments
+         (if any) in order from innermost to outermost dimension. The region
+         must yield the privatized copy.
       2. The destroy region specifies how to destruct the value when it reaches
-         its end of life. It takes the privatized value as argument.
+         its end of life. It takes the original value, the privatized value, and
----------------
clementval wrote:
No strong opinion on that so I'll leave it to you. 
https://github.com/llvm/llvm-project/pull/156545
    
    
More information about the Mlir-commits
mailing list