I have a two gpu system, a Geforce 8400 GS and Geforce GT 520. I am able to run my cuda programs on both the gpus. But when I use cuda-gdb to debug them I get an error saying that the Cuda driver initialization failed.
Also, when I run the program with cuda-gdb
, the cudaGetDeviceCount
says I have only 1 gpu. I am able to run the programs on either of the gpus if I am not using cuda-gdb
. Can somebody help me with this?
I am running Ubuntu 11.04.