Matlab 2011b and Cuda

1 次查看(过去 30 天)
Marius Ionescu
Marius Ionescu 2011-9-14
Hi,
I downloaded and installed Matlab 2011b and, among other, the parallel toolbox. I do have an Nvidia CUDA card on my computer and with version 2011a I was able to use the cuda in matlab very well. In 2011b, however, I receive the following error if I try to do anything CUDA related: "Error using gpuArray (line 28) The CUDA runtime failed to initialize correctly. This can occur with some older CUDA drivers. Make sure that you have the latest CUDA driver for your system from NVIDIA."
I have CUDA 4.0 installed on my computer. I am running Ubuntu 11.04 64bits. If I open the 2011a version of the Matlab everything works fine.
Marius

回答(3 个)

Walter Roberson
Walter Roberson 2011-9-14
It appears that new drivers (Linux version #270.41.19) were released about a month ago; perhaps that would help. See http://developer.nvidia.com/cuda-toolkit-40 to download the drivers

Dariosh
Dariosh 2014-11-18
I have the same problem now with Ubuntu 14.04 with the news CUDA driver and Matlab 2014B. "Error using gpuArray The CUDA runtime failed to initialize correctly. This can occur with some older CUDA drivers" Somebody has any solusion?
  1 个评论
Michal
Michal 2014-12-1
I can confirm that. Same problem on Ubuntu 14.04 with nvidia-331 driver on MATLAB 2014b.
Any recommendations???

请先登录,再进行评论。


Edric Ellis
Edric Ellis 2011-9-16
As Walter says, there are some relatively new CUDA drivers available for Linux, it's definitely worth getting the latest. If you still have trouble, please could you post the result of running
parallel.internal.gpu.CUDADriverVersion
  2 个评论
Raghavendra Ramachandra
'6.14.13.6886 (368.86)'
Walter Roberson
Walter Roberson 2017-3-11
编辑:Walter Roberson 2017-3-11
Raghavendra Ramachandra: You are replying to a question from 5 1/2 years ago. Please indicate clearly which MATLAB version you are trying to use, and which operating system, and whether you are using 32 bit or 64 bit MATLAB, and the variety of card you are using.
The closest match I find to the driver number you provide is 368.86-quadro-tesla-grid-winserv2008-2008r2-2012-64bit-international-whql.exe which appears to be for Tesla card for the 2012 timeframe running on Windows Server 2008.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 GPU Computing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by