Why do I receive an "cuDriverGetVersion" was not found error when calling the gpuArray function in Parallel Computnig Toolbox 5.0 (R2010b)?

1 次查看(过去 30 天)
I am interested in GPU Computation functionality of Parallel Computing Toolbox 5.0 (R2010b). I have an NVIDIA graphics card that supports CUDA. When I attempt to use GPU Computation functionality by calling the GPUARRAY function I get the following error:
The CUDA driver was found, but the function "cuDriverGetVersion" was not found. This can occur with old versions of CUDA. The library name used was: "nvcuda.dll". The required CUDA version is: 3 or greater.

回答(1 个)

Murugavel Sivagnanam
The error indicates that the version of NVIDIA CUDA library installed on your system is out of date. To resolve this issue:
1. Verify that the NVIDIA graphics card you are using has CUDA Compute Capability of 1.3 or higher. A list of CUDA enabled graphics cards and their associated Compute Capability can be found at the following links:
http://www.nvidia.com/object/cuda_gpus.html
If your card is not listed in the resources above, or does not have the Compute Capability of 1.3 or higher it is not supported for GPU Computation in Parallel Computing Toolbox 5.0.
2. If your card is listed in one of the above mentioned links and has Compute Capability of 1.3 or higher update the graphics drivers. The latest version of NVIDIA drivers can be found at:
http://www.nvidia.com/Download/index.aspx?lang=en-us
3. Install the CUDA Toolkit. The CUDA Toolkit can be downloaded from:
http://developer.nvidia.com/object/cuda_3_1_downloads.html
4. After updating the drivers and installing the CUDA Toolkit start MATLAB.
5. At the MATLAB Command Prompt type:
>>paralleldemo_gpu_devices
This will test whether MATLAB recognizes your GPU. If everything went well you should see output similar to:
DeviceName: 'Tesla C1060'
DeviceIndex: 1
ComputeCapability: 1.3000
DeviceSupportsDouble: 1
DriverVersion: 3
MaxThreadsPerBlock: 512
MaxShmemPerBlock: 16384
MaxThreadBlockSize: [512 512 64]
MaxGridSize: [65535 65535]
SIMDWidth: 32
TotalMemory: 4.2948e+09
FreeMemory: 4.2573e+09
MultiprocessorCount: 30
GPUOverlapsTransfers: 1
KernelExecutionTimeout: 0
DeviceSupported: 1

类别

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