mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-02 02:32:27 +00:00
Fine tune OpenMP some more
This commit is contained in:
parent
369aebfc48
commit
616717fa82
12 changed files with 45 additions and 48 deletions
2
third_party/openmp/kmp_affinity.cpp
vendored
2
third_party/openmp/kmp_affinity.cpp
vendored
|
@ -1547,7 +1547,6 @@ kmp_affin_mask_t *__kmp_affinity_get_offline_cpus() {
|
|||
kmp_affin_mask_t *offline;
|
||||
KMP_CPU_ALLOC(offline);
|
||||
KMP_CPU_ZERO(offline);
|
||||
#if KMP_OS_LINUX
|
||||
int n, begin_cpu, end_cpu;
|
||||
kmp_safe_raii_file_t offline_file;
|
||||
auto skip_ws = [](FILE *f) {
|
||||
|
@ -1595,7 +1594,6 @@ kmp_affin_mask_t *__kmp_affinity_get_offline_cpus() {
|
|||
KMP_CPU_SET(cpu, offline);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return offline;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue