Page MenuHomePhabricator

[OPENMP][NVPTX]Fix __kmpc_flush to flush the memory per system, not per block.
ClosedPublic

Authored by ABataev on Thu, Dec 6, 7:16 AM.

Details

Summary

According to the standard, after memory flushing the changes in the
memory must be visible to all the threads in all teams. Patch fixes
this.

Diff Detail

Repository
rL LLVM

Event Timeline

ABataev created this revision.Thu, Dec 6, 7:16 AM
This revision is now accepted and ready to land.Thu, Dec 6, 7:20 AM
This revision was automatically updated to reflect the committed changes.