[all-commits] [llvm/llvm-project] 7af61d: [flang][cuda] Add shape to cuf.data_transfer opera...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Mon Aug 26 09:50:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7af61d5cf464f1d716c82bc77907fa3fe4ebc841
      https://github.com/llvm/llvm-project/commit/7af61d5cf464f1d716c82bc77907fa3fe4ebc841
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-08-26 (Mon, 26 Aug 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/CUF/CUFOps.td
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Optimizer/Dialect/CUF/CUFOps.cpp
    M flang/test/Fir/cuf-invalid.fir

  Log Message:
  -----------
  [flang][cuda] Add shape to cuf.data_transfer operation (#104631)

When doing data transfer with dynamic sized array, we are currently
generating a data transfer between two descriptors. If the shape values
can be provided, we can keep the data transfer between two references.
This patch adds the shape operands to the operation.

This will be exploited in lowering in a follow up patch.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list