Fine tune OpenMP some more

This commit is contained in:
Justine Tunney 2024-01-30 04:38:11 -08:00
parent 369aebfc48
commit 616717fa82
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
12 changed files with 45 additions and 48 deletions

View file

@ -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;
}