[Mlir-commits] [mlir] [NFC][MLIR][OpenMP] Add test for lowering omp target parallel (PR #70795)
Dominik Adamski
llvmlistbot at llvm.org
Tue Oct 31 10:50:24 PDT 2023
DominikAdamski wrote:
Yes, `omp.target` + openmp attributes define that we should generate the code for the device. `omp.target` for the device is represented by the outer function with `__kmpc_target_init` and `__kmpc_target_deinit` function calls.
I wanted to add the test which generates similar code for `omp target parallel` as Clang does.
https://github.com/llvm/llvm-project/pull/70795
More information about the Mlir-commits
mailing list