VPN remote access + Windows 10 + CUDA

1 view (last 30 days)
Sami
Sami on 23 Dec 2015
Commented: Edric Ellis on 4 Jan 2016
I have problems utilizing VPN connection to run some Matlab scripts using CUDA mex code. I want to start a script from remote location (using openVPN to local net + remote desktop from/to Windows 10). However, the remote do not see the gpuDevice at Matlab:
>> gpuDevice
Error using gpuDevice (line 26)
An unexpected error occurred trying to retrieve CUDA device properties. The CUDA error was:
CUDA_ERROR_UNKNOWN
Locally thinks work (more or less ok with CUDA Toolkit 7.0). Non GPU related things work just fine over VPN.
I'm using Matlab R2015R with Parallel Computing Toolbox Version 6.7. GPU: NVIDIA GeForce GTX970 with driver version 10.18.13.6143 (GeForce 361.43) CPU: Intel Core i7-4790K.
  2 Comments
Alessandro Roux
Alessandro Roux on 29 Dec 2015
Hi Sami,
Accessing a CUDA device over Windows Remote Desktop appears to be supported in the latest version of the Nvidia CUDA Toolkit, version 7.5. Refer to the section titled "Windows Remote Desktop" in the following blog post from the Nvidia developers:
You can download the toolkit here:
https://developer.nvidia.com/cuda-toolkit
Try installing the most recent version of the CUDA toolkit on the machine that you are accessing over VPN.
Hope this helps,
Alessandro
Edric Ellis
Edric Ellis on 4 Jan 2016
You actually only need to update the CUDA driver for things to work - although it is fine to get the latest toolkit too.

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!