如何使用远程桌面运行 cuda 代码?

2022-01-10 00:00:00 c cuda c++

我正在使用远程桌面连接连接到具有 Nvidia 卡(CUDA 兼容)的桌面.

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

我这样做是因为我目前没有显示器!因此,我暂时使用我的笔记本电脑连接到我的桌面并运行我的 CUDA 代码.

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.

远程桌面无法识别 Nvidia 卡.cudaGetDeviceCount() 返回一个非常大的数字.我的电脑上只有 1 个 Nvidia 460.

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?

推荐答案

如上所述,您不能使用远程桌面.

As said, you cannot use remote desktop.

相反,您可以使用 VNC 客户端,例如 Splashtop 远程桌面,它是免费的.

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

相关文章