Issue 87117
Summary [OpenMP][libomp] Hidden helper team should not allocate from thread pool
Labels openmp:libomp
Assignees jpeyton52
Reporter jpeyton52
    The hidden helper team pre-allocates the `gtid` space `[1, num_hidden_helpers]` (inclusive). If regular host threads are allocated, then put back in the thread pool, then the hidden helper team is initialized, the hidden helper team tries to allocate the threads from the thread pool with `gtid`s higher than `[1, num_hidden_helpers]`. Instead, have the hidden helper team fork OS threads so the correct `gtid` range used for hidden helper threads.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to