[Openmp-commits] [PATCH] D54960: [OpenMP][libomptarget] Refactor SPMD and runtime requirement checking

Gheorghe-Teodor Bercea via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Nov 27 11:00:25 PST 2018


gtbercea created this revision.
gtbercea added reviewers: ABataev, caomhin.
Herald added subscribers: openmp-commits, jfb, guansong.

Refactor the checking for SPMD mode and whether the runtime is initialized or not. This uses constant flags which enables the runtime to optimize out unused sections of code that depend on these flags.


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D54960

Files:
  libomptarget/deviceRTLs/nvptx/src/cancel.cu
  libomptarget/deviceRTLs/nvptx/src/critical.cu
  libomptarget/deviceRTLs/nvptx/src/interface.h
  libomptarget/deviceRTLs/nvptx/src/loop.cu
  libomptarget/deviceRTLs/nvptx/src/parallel.cu
  libomptarget/deviceRTLs/nvptx/src/reduction.cu
  libomptarget/deviceRTLs/nvptx/src/supporti.h
  libomptarget/deviceRTLs/nvptx/src/sync.cu
  libomptarget/deviceRTLs/nvptx/src/task.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54960.175534.patch
Type: text/x-patch
Size: 55175 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20181127/ba1c0a20/attachment-0001.bin>


More information about the Openmp-commits mailing list