[Openmp-commits] [PATCH] D49564: [OPNEMP, NVPTX] Fixed sychronization construct + code cleanup.

Alexey Bataev via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Jul 19 13:42:17 PDT 2018


ABataev created this revision.
ABataev added reviewers: gtbercea, grokos.

1. Fixed internal problem in `__kmpc_barrier` function: SPMD mode

synchronization function should be called only in https://reviews.llvm.org/L1 parallel level.

2. Removed some extra code for synchronization inside of the code, used

`__kmpc_barrier` instead.

3. Some code cleanup.


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D49564

Files:
  libomptarget/deviceRTLs/nvptx/src/loop.cu
  libomptarget/deviceRTLs/nvptx/src/reduction.cu
  libomptarget/deviceRTLs/nvptx/src/supporti.h
  libomptarget/deviceRTLs/nvptx/src/sync.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49564.156350.patch
Type: text/x-patch
Size: 5917 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180719/8690304b/attachment-0001.bin>


More information about the Openmp-commits mailing list