- Fixed internal problem in __kmpc_barrier function: SPMD mode
synchronization function should be called only in L1 parallel level.
- Removed some extra code for synchronization inside of the code, used
__kmpc_barrier instead.
- Some code cleanup.
Paths
| Differential D49564
[OPNEMP, NVPTX] Fixed sychronization construct + code cleanup. ClosedPublic Authored by ABataev on Jul 19 2018, 1:42 PM.
Details Summary
synchronization function should be called only in L1 parallel level.
__kmpc_barrier instead.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 20 2018, 1:37 PM
Closed by commit rL337691: [OPNEMP, NVPTX] Fixed sychronization construct + code cleanup. (authored by ABataev). · Explain WhyJul 23 2018, 6:52 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 156771 openmp/trunk/libomptarget/deviceRTLs/nvptx/src/loop.cu
openmp/trunk/libomptarget/deviceRTLs/nvptx/src/reduction.cu
openmp/trunk/libomptarget/deviceRTLs/nvptx/src/supporti.h
openmp/trunk/libomptarget/deviceRTLs/nvptx/src/sync.cu
|