Open jdoerfert opened 1 year ago
@llvm/issue-subscribers-openmp
That is not because of the teams. We have already properly cap the team size and number of teams. In this case, we will create N teams, each of which has 1 thread, where N is the number of threads the system has.
The issue is in the nested parallel region. Every thread will create its own parallel region. Note that since all those threads are in their own team, even we set OMP_MAX_ACTIVE_LEVELS=1
, there will still be N*N
threads.
The benchmark from https://github.com/llvm/llvm-project/issues/64959 cannot be run on the host right now without effectively killing it. I think we lower the thread count but probably not the team count.