carstenbauer / ThreadPinning.jl

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

Order + likwid-pin-like input #41

Closed carstenbauer closed 1 year ago

carstenbauer commented 1 year ago

Introduce "logical matrix" sysinfo().matrix to have full control over order in, e.g., cpuids_per_* functions etc. This is necessary to realize different orderings such as "cores first (i.e. before SMT-threads)" systematically.

Also, paves the way for #39.

This should be non-breaking. The only thing (I know about) that technically "broke" (actually, just changed) is the ordering of the cpuids in the cpuids_per* functions on some systems (non-standard lscpu output, like Fugaku). But since we didn't document any guarantees on the order, this is non-breaking.

Closes #37