[Openmp-commits] [PATCH] D62318: [OPENMP][NVPTX]Simplify use of the thread_id in full runtime mode, NFC.

Alexey Bataev via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu May 23 07:42:41 PDT 2019


ABataev created this revision.
ABataev added reviewers: grokos, gtbercea, kkwli0.
Herald added subscribers: jdoerfert, jfb, guansong.
Herald added a project: OpenMP.

ThreadId should not be stored in the runtime class, we can get its value
depending on the current parallel level.


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D62318

Files:
  libomptarget/deviceRTLs/nvptx/src/libcall.cu
  libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.cu
  libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.h
  libomptarget/deviceRTLs/nvptx/src/omptarget-nvptxi.h
  libomptarget/deviceRTLs/nvptx/src/parallel.cu
  libomptarget/deviceRTLs/nvptx/src/support.h
  libomptarget/deviceRTLs/nvptx/src/supporti.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62318.200975.patch
Type: text/x-patch
Size: 14990 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20190523/9eba4747/attachment-0001.bin>


More information about the Openmp-commits mailing list