Skip to content

Commit

Permalink
Remove debug prints from hwloc topology backend
Browse files Browse the repository at this point in the history
  • Loading branch information
TomTheBear committed Dec 2, 2024
1 parent babff97 commit 42865dd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/topology_hwloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -547,31 +547,26 @@ hwloc_init_nodeTopology(cpu_set_t cpuSet)
#endif
if (maxNumSockets < maxNumDies)
{
printf("Searching for socket of die\n");
hwloc_obj_t t = obj->parent;
while (t->type != die_type) {
t = t->parent;
if (!t)
{
printf("Cannot find type %d\n", die_type);
skip = 1;
break;
}
}
if (skip)
{
printf("setting die id = 0\n");
hwThreadPool[id].dieId = 0;
continue;
}
if (t->type == die_type)
{
printf("setting die id = %d\n", t->os_index);
hwThreadPool[id].dieId = t->os_index;
}
else
{
printf("setting die id = 0 (else)\n");
hwThreadPool[id].dieId = 0;
}
}
Expand Down

0 comments on commit 42865dd

Please sign in to comment.