[Openmp-commits] [PATCH] D52436: [OpenMP][libomptarget] Add runtime functions for default schedule for distribute
Alexey Bataev via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Sep 25 10:20:25 PDT 2018
ABataev added inline comments.
================
Comment at: libomptarget/deviceRTLs/nvptx/src/loop.cu:258
+ *pupper = ub;
+ *pstride = stride;
+ }
----------------
Seems to me, you need to add `plastiter` and update it for the last iteration. Otherwise it might break lastprivates
Repository:
rOMP OpenMP
https://reviews.llvm.org/D52436
More information about the Openmp-commits
mailing list