I have to card in my computer under red hat 5.
One 8600 and one 8800.
My screen and so Xserver are attached to the 8600.
I would like to use the 8800 as cuda only card since there is the famous “5 seconds limitation” with X.
How can I get automatically (by program) the right device, that’s to say the card which is not attached to the xserver.
Do you know if there is a trick to get it from the xserver and then pass the right id to cudaSetDevice() ?