ugly hack for power9

This commit is contained in:
quackerd 2022-12-14 11:23:58 +01:00
parent 08887f9248
commit a20efc795d

View File

@ -98,6 +98,10 @@ int main()
{
topo_init(1);
topo_init(1);
printf("Total cores: %d, numa: %d\n", topo_num_core(), topo_num_numa());
for (int i = 0; i < topo_num_core(); i++) {
printf("Core %d -> NUMA %d\n", i, topo_core_to_numa(i));
}
ts_test();
return 0;
}