[all-commits] [llvm/llvm-project] 038e66: [OpenMP] Have hidden helper team allocate new OS t...
Jonathan Peyton via All-commits
all-commits at lists.llvm.org
Fri Mar 29 15:26:21 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 038e66fe59962de121ce24ee709eca7a0783cbc4
https://github.com/llvm/llvm-project/commit/038e66fe59962de121ce24ee709eca7a0783cbc4
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2024-03-29 (Fri, 29 Mar 2024)
Changed paths:
M openmp/runtime/src/kmp_runtime.cpp
A openmp/runtime/test/tasking/hidden_helper_task/issue-87117.c
Log Message:
-----------
[OpenMP] Have hidden helper team allocate new OS threads only (#87119)
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 gtids 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.
Fixes: #87117
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list