llvm-project
0e0bee26 - [OpenMP] Fix distributed barrier hang for OMP_WAIT_POLICY=passive (#83058)

Commit
1 year ago
[OpenMP] Fix distributed barrier hang for OMP_WAIT_POLICY=passive (#83058) The resume thread logic inside __kmp_free_team() is faulty. Only checking b_go for sleep status doesn't wake up distributed barrier. Change to generic check for th_sleep_loc and calling __kmp_null_resume_wrapper(). Fixes: #80664
Author
Jonathan Peyton
Parents
Loading