To activate another gpu to work

Hi… I am new to cuda c and gpu…
I am using two gpu’s(GeForce GTX 460 and GeForce GT 240).
But I dont know how to set another gpu to active from active device…

Will anyone help me ?


Hi tera,

      Ya I got it... Thanks

      When running a cuda program in GT 240, I got the same time generation as GTX 460.

      I generate time in both GT 240 and GTX 460 program.

      Is it correct ? or I have to change any properties inside the program ?

      See the attached file to check my program.

activate another gpu to work.txt (1.18 KB)

Thank you tera…

I got time difference in both GTX 460 and GT 240