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

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Fri Aug 16 12:22:16 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,
----------------
vzakhari wrote:

Is there a reason for not using a `!fir.shape` value here?

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


More information about the flang-commits mailing list