File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 14
14
* Copyright (c) 2012-2015 Los Alamos National Security, LLC.
15
15
* All rights reserved.
16
16
* Copyright (c) 2013-2014 Intel, Inc. All rights reserved.
17
- * Copyright (c) 2015 Research Organization for Information Science
17
+ * Copyright (c) 2015-2016 Research Organization for Information Science
18
18
* and Technology (RIST). All rights reserved.
19
19
* $COPYRIGHT$
20
20
*
@@ -71,7 +71,7 @@ hwloc_obj_t opal_hwloc_base_get_pu(hwloc_topology_t topo,
71
71
So first we have to see if we can find *any* cores by looking
72
72
for the 0th core. If we find it, then try to find the Nth
73
73
core. Otherwise, try to find the Nth PU. */
74
- if (NULL == hwloc_get_obj_by_type (topo , HWLOC_OBJ_CORE , 0 )) {
74
+ if (opal_hwloc_use_hwthreads_as_cpus || ( NULL == hwloc_get_obj_by_type (topo , HWLOC_OBJ_CORE , 0 ) )) {
75
75
obj_type = HWLOC_OBJ_PU ;
76
76
}
77
77
You can’t perform that action at this time.
0 commit comments