This is an archive of the discontinued LLVM Phabricator instance.

[CUDA]Fix dynamic|guided scheduling.
ClosedPublic

Authored by ABataev on May 24 2018, 9:43 AM.

Details

Summary

The existing implementation of the dynamic scheduling breaks the contract introduced by the original openmp runtime and, thus, is incorrect. Patch fixes it and introduces correct dynamic scheduling model.

Diff Detail

Repository
rL LLVM

Event Timeline

ABataev created this revision.May 24 2018, 9:43 AM
ABataev retitled this revision from Fix dynamic|guided scheduling. to [CUDA]Fix dynamic|guided scheduling..
grokos accepted this revision.May 24 2018, 10:23 AM

I think this looks good. Definitely a correct implementation compared to what we have now!

This revision is now accepted and ready to land.May 24 2018, 10:23 AM

George, could you commit it, please? I need a lot of time to configure openmp runtime so I could commit it.

This revision was automatically updated to reflect the committed changes.