AlexG <alex...@live.nl> writes:

> Hello,
>
> I have a question on the cuda capable device detection using pycuda.
> Does the driver.Device.count() function detect each gpu on dual gpu cards
> such as 
> the nvidia K2 or K80 cards as separate?, that is if I have one K2 card
> installed
> does the count() function return 2?

Yes,

> Also is there a device attribute that matches it with the other gpu(s) on
> the same card?

You could probably reverse engineer that from the Bus ID. Although the
enumeration logic does not have documented behavior in this regard, I'd
expect them to enumerate at consecutive IDs.

Andreas

_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
https://lists.tiker.net/listinfo/pycuda

Reply via email to