[Openmp-commits] [PATCH] D61395: [OPENMP][NVPTX]Improve code by using parallel level counter.

Alexey Bataev via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed May 1 13:04:26 PDT 2019


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

Previously for the different purposes we need to get the active/common
parallel level and with full runtime we iterated over all the records to
calculate this level. Instead, we can used the warp-based parallel level
counters used in no-runtime mode.


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D61395

Files:
  libomptarget/deviceRTLs/nvptx/src/libcall.cu
  libomptarget/deviceRTLs/nvptx/src/loop.cu
  libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.cu
  libomptarget/deviceRTLs/nvptx/src/option.h
  libomptarget/deviceRTLs/nvptx/src/parallel.cu
  libomptarget/deviceRTLs/nvptx/src/reduction.cu
  libomptarget/deviceRTLs/nvptx/src/support.h
  libomptarget/deviceRTLs/nvptx/src/supporti.h
  libomptarget/deviceRTLs/nvptx/src/sync.cu
  libomptarget/deviceRTLs/nvptx/test/parallel/nested.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61395.197622.patch
Type: text/x-patch
Size: 34702 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20190501/7f54744b/attachment-0001.bin>


More information about the Openmp-commits mailing list