[flang-commits] [flang] [flang][cuda] Add shape to cuf.data_transfer operation (PR #104631)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Fri Aug 16 14:06:13 PDT 2024


================
@@ -161,10 +161,11 @@ def cuf_DataTransferOp : cuf_Op<"data_transfer", []> {
 
   let arguments = (ins Arg<AnyType, "", [MemRead]>:$src,
                        Arg<AnyRefOrBoxType, "", [MemWrite]>:$dst,
+                       Variadic<AnyIntegerType>:$shape,
----------------
clementval wrote:

No special reason. I took the definition for the AllocOp but shape is fine. I updated the op.

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


More information about the flang-commits mailing list