Page MenuHomePhabricator

[OPENMP][NVPTX]Fix dynamic scheduling.
ClosedPublic

Authored by ABataev on Jan 4 2019, 1:17 PM.

Details

Summary

Previous implementation may cause the runtime crash when the number of
teams is > 1024. Patch fixes this problem + reduces number of the atomic
operations by 32 times.

Diff Detail

Repository
rL LLVM

Event Timeline

ABataev created this revision.Jan 4 2019, 1:17 PM
grokos accepted this revision.Jan 4 2019, 7:48 PM

Nice approach to optimizing the degree of collisions of atomic adds. LGTM.

This revision is now accepted and ready to land.Jan 4 2019, 7:48 PM
This revision was automatically updated to reflect the committed changes.