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 代码?


基础教程推荐
- 如何通过C程序打开命令提示符Cmd 2022-12-09
- C++结构和函数声明。为什么它不能编译? 2022-11-07
- 这个宏可以转换成函数吗? 2022-01-01
- 常量变量在标题中不起作用 2021-01-01
- 在 C++ 中计算滚动/移动平均值 2021-01-01
- 静态库、静态链接动态库和动态链接动态库的 .lib 文件里面是什么? 2021-01-01
- 如何在 C++ 中初始化静态常量成员? 2022-01-01
- 如何检查GTK+3.0中的小部件类型? 2022-11-30
- 如何将 std::pair 的排序 std::list 转换为 std::map 2022-01-01
- 我有静态或动态 boost 库吗? 2021-01-01