How to Run a cuda code using remote Desktop?(如何使用远程桌面运行 cuda 代码?)
问题描述
我正在使用远程桌面连接连接到具有 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.
这篇关于如何使用远程桌面运行 cuda 代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何使用远程桌面运行 cuda 代码?


基础教程推荐
- 为什么派生模板类不能访问基模板类的标识符? 2021-01-01
- 如果我为无符号变量分配负值会发生什么? 2022-01-01
- 我应该对 C++ 中的成员变量和函数参数使用相同的名称吗? 2021-01-01
- 通过引用传递 C++ 迭代器有什么问题? 2022-01-01
- 初始化列表*参数*评估顺序 2021-01-01
- 为什么 RegOpenKeyEx() 在 Vista 64 位上返回错误代码 2021-01-01
- 非静态 const 成员,不能使用默认赋值运算符 2022-10-09
- 为什么 typeid.name() 使用 GCC 返回奇怪的字符以及如 2022-09-16
- GDB 显示调用堆栈上函数地址的当前编译二进制文 2022-09-05
- CString 到 char* 2021-01-01