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] OpenGL GPU detection code
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2013-02-14 12:36:21

Le 14/02/2013 14:00, Stefan Eilemann a écrit :
> On 12. Feb 2013, at 23:37, Brice Goglin <Brice.Goglin_at_[hidden]> wrote:
>> Stefan (or anybody else interested in hwloc GPU support),
>> Did you have any chance to look at this?
> I can confirm that it works for us now. I did implement an important performance optimization, please look at the usual bug for the patch:

Can you explain a bit more what you did? I understand that you use
ScreenCount() to avoid useless tests.

But you're only testing the NV-CONTROL extension on :X, not on each
:X.Y. Is it guaranteed that :0.0, :0.1 ... support the same list of
extensions? Isn't it possible to have a single X server with a NVIDIA
board driving :0.0 and a non-NVIDIA board driving :0.1 ?

By the way, please try to not reindent the code next time, it makes the
patch much harder to read :/ (your editor may be doing it in your back)