We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99f61f3 commit c9d9557Copy full SHA for c9d9557
openmp/runtime/src/kmp_alloc.cpp
@@ -1545,7 +1545,7 @@ void __kmp_fini_memkind() {
1545
#endif
1546
}
1547
1548
-#if KMP_USE_HWLOC
+#if KMP_USE_HWLOC && KMP_AFFINITY_SUPPORTED
1549
static bool __kmp_is_hwloc_membind_supported(hwloc_membind_policy_t policy) {
1550
#if HWLOC_API_VERSION >= 0x00020300
1551
const hwloc_topology_support *support;
@@ -1563,6 +1563,7 @@ static bool __kmp_is_hwloc_membind_supported(hwloc_membind_policy_t policy) {
1563
return false;
1564
1565
1566
+#endif
1567
1568
void *__kmp_hwloc_alloc_membind(hwloc_memattr_id_e attr, size_t size,
1569
hwloc_membind_policy_t policy) {
0 commit comments