Skip to content

Conversation

@jpeyton52
Copy link

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

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: llvm#80664
@llvmbot llvmbot added the openmp:libomp OpenMP host runtime label Feb 26, 2024
@github-actions
Copy link

github-actions bot commented Feb 26, 2024

✅ With the latest revision this PR passed the C/C++ code formatter.

@jpeyton52 jpeyton52 merged commit 0e0bee2 into llvm:main Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

openmp:libomp OpenMP host runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[OpenMP RT] Passive policy with dist barrier does not end

3 participants