Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Run a cuda code using remote Desktop?

Tags:

c++

c

cuda

I am connecting to my desktop which has an Nvidia card (CUDA compatible) using remote desktop connection.

I am doing this because I currently don't have a monitor! Therefore I am temporary using my laptop to connect to my desktop and run my CUDA code.

It seams that remote desktop does not recognize the Nvidia card. cudaGetDeviceCount() is returning a very big number. I only have 1 Nvidia 460 on my PC.

How can I solve this issue? Should I use other remote software?

like image 622
lizz Avatar asked Jul 30 '11 08:07

lizz


2 Answers

As said, you cannot use remote desktop.

Instead, you can use a VNC client such as Splashtop Remote Desktop, it is free.

like image 179
scatman Avatar answered Nov 06 '22 11:11

scatman


As far as I know there is no way to use cuda with remote desktop.

Remote desktop does not allow to access your graphics card. It works more like a visual remote shell. Remote desktop is simply told what gui elements are visible. The rendering takes place on your laptop.

Something like VNC or TeamViewer might work because VNC actually sends what is on the screen.

like image 28
ben Avatar answered Nov 06 '22 09:11

ben