https://github.com/JuliaLang/julia
Revision 32b1305c78c353c7b9241a2f1bac43788041240f authored by Elliot Saba on 21 March 2022, 20:33:24 UTC, committed by GitHub on 21 March 2022, 20:33:24 UTC
* More flexibly test affinity setting

When running on a machine with `cpusets` applied, we are unable to
assign CPU affinity to CPUs 1 and 2; we may be locked to CPUs 9-16, for
example.  So we must inspect what our current cpumask is, and from that
select CPUs that we can safely assign affinity to in our tests.

* Import `uv_thread_getaffinity` from `print_process_affinity.jl`

* Call `uv_thread_getaffinity` only if `AFFINITY_SUPPORTED`

* Fix a syntax error

Co-authored-by: Takafumi Arakaki <aka.tkf@gmail.com>
1 parent 1eae65b
Raw File
Tip revision: 32b1305c78c353c7b9241a2f1bac43788041240f authored by Elliot Saba on 21 March 2022, 20:33:24 UTC
More flexible test affinity setting (#44677)
Tip revision: 32b1305
openblas.version
OPENBLAS_BRANCH=v0.3.20
OPENBLAS_SHA1=0b678b19dc03f2a999d6e038814c4c50b9640a4e
back to top