[Openmp-commits] [PATCH] D40357: Enable thread affinity for Power
Jonas Hahnfeld via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Nov 22 07:41:29 PST 2017
Hahnfeld added inline comments.
================
Comment at: runtime/src/kmp_affinity.cpp:1839
threadInfo[num_avail][osIdIndex] = val;
-#if KMP_OS_LINUX && USE_SYSFS_INFO
+#if KMP_OS_LINUX && !(KMP_ARCH_X86 || KMP_ARCH_X86_64)
char path[256];
----------------
I thought about switching the default for x86 as well because virtually every Linux system should support these sysfs nodes nowadays, but in the end decided to keep the current code path...
https://reviews.llvm.org/D40357
More information about the Openmp-commits
mailing list