Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] 1.3.1 and 1.4rc1
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2011-12-13 12:13:31


Le 13/12/2011 18:02, Samuel Thibault a écrit :
> Brice Goglin, le Tue 13 Dec 2011 16:41:08 +0100, a écrit :
>> Le 13/12/2011 16:22, Jeff Squyres a écrit :
>>> I can't speak for GPUs, but I think the PCI information will be useful to know what devices are close to what PUs / NUMA nodes. That information can be used to make decisions about binding, for example (i.e., you want to be "close" to the specific PCI resources that you'll be using).
>> In most cases, you don't need PCI support for this, you juste manipulate
>> a cuda device, an ibv_device, a MX endpoint, ... and use one of the
>> inline helpers to get the corresponding locality (a cpuset).
> A problem I see there is that although you can write such helper for
> Linux, nothing guarantees that it'll be so easy for other OSes.

And ? :)

We already have many features that are only supported on Linux. OS
devices for instance. libpci isn't portable to all OS we support, ...

As long as we don't add something obviously not portable, I am fine. And
we still have hwloc/linux.h for other cases.

Brice