OpenMP_VV icon indicating copy to clipboard operation
OpenMP_VV copied to clipboard

Break possible deadlock on lockstep execution

Open fel-cab opened this issue 9 months ago • 1 comments

Some of the target_requires_atomic tests get on infinite loop with LLVM/Clang compiler because lockstep execution on the target device and the if-else order of execution. These tests are written assuming that target threads are independent or that if they execute in a warp, in lockstep execution, the order of execution would be first the if part and then the else part. The modifications on the tests are meant to make sure that this problem does not happens for LLVM/Clang or any compiler that could encounter this problem.

fel-cab avatar May 14 '24 17:05 fel-cab