[Openmp-commits] [PATCH] D49241: [OPENMP, NVPTX] Fix loop boundaries calculation for dynamic loops.

Alexey Bataev via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Jul 12 08:11:51 PDT 2018


ABataev created this revision.
ABataev added a reviewer: grokos.
Herald added a subscriber: guansong.

Patch fixes the next problems.

1. Removes unused functions from omptarget_nvptx_ThreadPrivateContext

class + simplified data members.

2. Fixed calculation of loop boundaries for dynamic loops with static

scheduling.

3. Introduced saving/restoring of the dynamic loop boundaries to support

several nested parallel dynamic loops.


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D49241

Files:
  libomptarget/deviceRTLs/nvptx/src/loop.cu
  libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.h
  libomptarget/deviceRTLs/nvptx/src/omptarget-nvptxi.h
  libomptarget/deviceRTLs/nvptx/src/parallel.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49241.155186.patch
Type: text/x-patch
Size: 6484 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180712/7341265d/attachment-0001.bin>


More information about the Openmp-commits mailing list