[all-commits] [llvm/llvm-project] 5cbe33: [mlir][openacc] Add host_data operation

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu May 11 14:55:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5cbe3381a65c14793f660f456f6daff674ac23bd
      https://github.com/llvm/llvm-project/commit/5cbe3381a65c14793f660f456f6daff674ac23bd
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-05-11 (Thu, 11 May 2023)

  Changed paths:
    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 host_data operation

The acc.host_data operation models the OpenACC
host_data construct (2.8). The host_data construct
defines a region where the address of data in device memory
available on the host. The operation is modeled in a similar way
than acc.data operation.

Reviewed By: razvanlupusoru, jeanPerier

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




More information about the All-commits mailing list