carstenbauer / ThreadPinning.jl

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

Use `@threads :static` #7

Closed carstenbauer closed 2 years ago

carstenbauer commented 2 years ago

Once https://github.com/JuliaLang/julia/pull/44136 is merged (will likely be in Julia 1.8) @threads will default to @threads :dynamic instead of the previous @threads :static! We must therefore replace @threads by the more explicit @threads :static where necessary!

carstenbauer commented 2 years ago

Looks like we already use :static everywhere.