OpenMP-Validation-and-Verification / OpenMP_VV

OpenMP Offloading Validation & Verification Suite; Official repository. We have migrated from bitbucket!! For documentation, results, publication and presentations, please check out our website ->
https://crpl.cis.udel.edu/ompvvsollve/
Other
54 stars 19 forks source link

Changes on target_requires_atomic tests #818

Closed fel-cab closed 5 months ago

fel-cab commented 5 months ago

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 the warp they belong to, the lockstep execution would first execute the if 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.