kokkos / kokkos

Kokkos C++ Performance Portability Programming Ecosystem: The Programming Model - Parallel Execution and Memory Abstraction
https://kokkos.org
Other
1.99k stars 436 forks source link

Internal API for more control over OpenMP thread scheduling #4325

Open nmm0 opened 3 years ago

nmm0 commented 3 years ago

Currently, HostThreadTeamData assumes that jobs should be scheduled over all the threads available. For resilient execution spaces we need a bit more control to ensure that duplicate kernels run in parallel. One possibility is to add an extra parameter to control how many threads to use (defaulted to league size). This should be brought up in discussion.

ajpowelsnl commented 3 years ago

Morning @nmm0 -- would you please comment on this issue (based on design discussions with Christian), and close it once you think the way forward is documented?