How to Run a cuda code using remote Desktop?

后端 未结 8 1844
醉梦人生
醉梦人生 2020-12-06 16:40

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!

8条回答
  •  抹茶落季
    2020-12-06 17:26

    Indeed the Remote Desktop application doesn't allow you to access the graphics card at all, which is done for speed considerations: the device you're connected to doesn't do the rendering, the device you connect with (in your case a laptop) does this. As a result, CUDA programmes suddenly don't see any CUDA enabled device and return all sort of strange stuff. (I found that my test programmes don't always just return 0 for the device count, but all sort of random data, and so does cudaGetDeviceProperties.

    A perfect, free, cross-platform, and in my opinion much better alternative I found is LogMeIn. With this application, the rendering is all done on the device you're connected to, and basically a screenshot is sent over the network every frame. So in short: it works like you would expect a remote desktop to work.

提交回复
热议问题