You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[feature request] user defined priorities of automatic threading layer choice #4486
This feature request concerns setting relative priorities between this 3 threading layers. i.e. I still want Numba to automatically choose one for me, but I want to specify the priorities between them. For example if the first is not available, fall back to lower priority ones.
The priority I want to set is 'omp', 'tbb', 'workqueue'. By the way, is the current behavior having the priority of 'tbb', 'omp', 'workqueue', i.e. tbb is chosen first, and if not available fall back to omp, etc.?
I think that this request is feasible and can be accommodated without breaking anyone relying on the current behaviour. @ickc would you perhaps be interested in providing a patch and tests? Thanks.
Activity
sklam commentedon Aug 28, 2019
Yes, the default is
tbb, omp, workqueue.sklam commentedon Aug 28, 2019
@stuartarchibald, you have thought about this more than I have.
stuartarchibald commentedon Aug 29, 2019
I think that this request is feasible and can be accommodated without breaking anyone relying on the current behaviour. @ickc would you perhaps be interested in providing a patch and tests? Thanks.