carstenbauer / ThreadPinning.jl

Readily pin Julia threads to CPU-threads
https://carstenbauer.github.io/ThreadPinning.jl/
MIT License
110 stars 7 forks source link

Binding + Places and Environment Variables #19

Closed carstenbauer closed 2 years ago

carstenbauer commented 2 years ago

Binding strategy + places We move to pinthreads(binding; places, kwargs...) to separate the binding / distribution strategy (e.g. compact or spread) from the blocks that we want to bind to / distribute among (e.g. cores, sockets, or numa domains).

(Contains also some OMP-like variable work)

New binding strategy: :current Pins threads to the cpu threads on which they are currently running.

Environment variables

TODO