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 5cf6a5a commit 51be27cCopy full SHA for 51be27c
tests/hwloc/hwloc_distrib.c
@@ -106,6 +106,10 @@ static void test_round_robin_Core_PU(hwloc_topology_t topology)
106
// This test can only work if all the Cores have the same amount of child PU.
107
if ( !is_tleaf(topology) )
108
return;
109
+ if ( hwloc_get_type_depth(topology, HWLOC_OBJ_CORE) < 0 )
110
+ return;
111
+ if ( hwloc_get_type_depth(topology, HWLOC_OBJ_PU) < 0 )
112
113
114
int i;
115
int nPU = hwloc_get_nbobjs_by_type(topology, HWLOC_OBJ_PU);
0 commit comments