Open MPI logo

Hardware Locality Users' Mailing List Archives

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

Subject: Re: [hwloc-users] Difference between HWLOC_OBJ_CORE and HWLOC_OBJ_PU
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2011-08-09 11:00:58


Gabriele Fatigati, le Tue 09 Aug 2011 16:58:33 +0200, a écrit :
> in a non SMT machine, what's the difference between HWLOC_OBJ_CORE
> and HWLOC_OBJ_PU?

There is no difference concerning the cpuset.

> can I exchange one to other?

If you are absolutely sure that your machine is non SMT, yes. But you
should take the opportunity of using hwloc to handle SMT machines too by
choosing CORE or PU depending you want to target cores or individual
logical processors.

Samuel