[Openmp-commits] [PATCH] D105586: [OpenMP] Remove checkXXXX device runtime functions

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Jul 7 13:09:40 PDT 2021


jdoerfert created this revision.
jdoerfert added reviewers: carlo.bertolli, ABataev, JonChesterfield, ggeorgakoudis, tianshilei1992, jhuber6.
Herald added subscribers: guansong, bollu, yaxunl.
jdoerfert requested review of this revision.
Herald added a subscriber: sstefan1.
Herald added a project: OpenMP.

We had multiple functions to determine the execution mode (SPMD/Generic)
and runtime status (initialized/uninitialized) but that just increased
complexity without a real benefit. Especially with D102307 <https://reviews.llvm.org/D102307> in mind it
is helpful to reduce the dependence on the `ident_t` flags.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105586

Files:
  openmp/libomptarget/deviceRTLs/common/src/loop.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/common/support.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105586.357061.patch
Type: text/x-patch
Size: 15805 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210707/70fab30c/attachment-0001.bin>


More information about the Openmp-commits mailing list