Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [hwloc-users] GPU/NIC/CPU locality
From: Stefan Eilemann (eilemann_at_[hidden])
Date: 2011-11-30 02:44:33

On 29. Nov 2011, at 11:36, Brice Goglin wrote:

> Le 29/11/2011 09:57, Stefan Eilemann a écrit :
>> I use them mostly with OpenGL ('XOpenDisplay(":0.<gpu>")' and RDMA in Equalizer/Collage (see links in signature). Is there a straight way to associate the GPUs with the corresponding X screen? I guess at least the path through the Xorg PCI ID should work, but it would be nice to have that in hwloc.
> I need to think about it, it doesn't look very easy to implement.

Let me know if I can help. We would be quite interested in this feature.

Ideally there should be the following fields. I'll use the Equalizer terms, but feel free to use others if you don't like them:

- port: the X server number or unused (Windows/Mac)
- GL device: The X screen, affinity device (Windows) or CGL renderer ID (OS X)
- Cuda/OpenCL device

The latter is interesting to establish a mapping between GL and Cuda device numbers, which are not necessarily symmetric.