llvm
badb127f - [OpenMP] Fix race in setupIndirectCallTable (#215274)

Commit
10 days ago
[OpenMP] Fix race in setupIndirectCallTable (#215274) The IndirectCallTable variable where the table is constructed is a local variable. The copy to the device is right now not synchronized, so the frame where the table resides can be overwritten before the GPU copy has accessed the host data which corrupts the device side table. Fix it by make it a synchronous operation.
Author
Committer
Parents
Loading