[Openmp-commits] [PATCH] D95048: [libomptarget][devicertl] Wrap source in declare target pragmas

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Jan 20 07:19:17 PST 2021


JonChesterfield created this revision.
JonChesterfield added reviewers: jdoerfert, tianshilei1992, grokos, ABataev.
Herald added a subscriber: jvesely.
JonChesterfield requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.

[libomptarget][devicertl] Wrap source in declare target pragmas

Factored out of D93135 <https://reviews.llvm.org/D93135> / D94745 <https://reviews.llvm.org/D94745>. C++ and cuda ignore unknown pragmas
so this is a NFC for the current implementation language. Removes noise
from patches for building deviceRTL as openmp.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95048

Files:
  openmp/libomptarget/deviceRTLs/amdgcn/src/amdgcn_locks.hip
  openmp/libomptarget/deviceRTLs/amdgcn/src/amdgcn_smid.hip
  openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.hip
  openmp/libomptarget/deviceRTLs/common/src/cancel.cu
  openmp/libomptarget/deviceRTLs/common/src/critical.cu
  openmp/libomptarget/deviceRTLs/common/src/data_sharing.cu
  openmp/libomptarget/deviceRTLs/common/src/libcall.cu
  openmp/libomptarget/deviceRTLs/common/src/loop.cu
  openmp/libomptarget/deviceRTLs/common/src/omp_data.cu
  openmp/libomptarget/deviceRTLs/common/src/omptarget.cu
  openmp/libomptarget/deviceRTLs/common/src/parallel.cu
  openmp/libomptarget/deviceRTLs/common/src/reduction.cu
  openmp/libomptarget/deviceRTLs/common/src/support.cu
  openmp/libomptarget/deviceRTLs/common/src/sync.cu
  openmp/libomptarget/deviceRTLs/common/src/task.cu
  openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95048.317871.patch
Type: text/x-patch
Size: 10113 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210120/3537588e/attachment-0001.bin>


More information about the Openmp-commits mailing list