Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Users mailing list

Subject: [hwloc-users] meaning of "physical CPU" for get_last_cpu_location()
From: Vlad (vlad_at_[hidden])
Date: 2013-10-04 20:45:15


        I've been a user for a while and have just noticed an area where the API documentation is either unclear or the version I am using (1.7 on Fedora 17) returns a wrong topology object type. Specifically, I took the "physical CPU" wording to mean HWLOC_OBJ_CORE but on a machine that has hyperthreading enabled the above method appears to return HWLOC_OBJ_PU).

Most likely, all is well (returning the smallest processing element of hardware kind of makes more sense) and I'd misunderstood the API all along (I work mostly on machines with HT disabled), but it would be useful to confirm.

Thanks in advance,