[all-commits] [llvm/llvm-project] ecc7ad: [mlir][openacc] Add async attribute and optional o...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Fri Jun 30 10:04:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ecc7adc46ce926d51022ff5ab5ee60eb61b80972
      https://github.com/llvm/llvm-project/commit/ecc7adc46ce926d51022ff5ab5ee60eb61b80972
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-06-30 (Fri, 30 Jun 2023)

  Changed paths:
    M flang/lib/Lower/OpenACC.cpp
    M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
    M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
    M mlir/test/Dialect/OpenACC/ops.mlir

  Log Message:
  -----------
  [mlir][openacc] Add async attribute and optional operand

OpenACC 3.2 allowed the async clause to the data construct. This patch
adds a unit attribute and an optional operand to the data operation to model
the data clause in a similar way it was added to other data operation.
The attribute models the presence of the clause without any argument. When
an argument is provided it is placed in the async operand.

Reviewed By: razvanlupusoru

Differential Revision: https://reviews.llvm.org/D154111




More information about the All-commits mailing list