필터 지우기
필터 지우기

Problem running gpu code

조회 수: 1 (최근 30일)
nick
nick 2011년 12월 26일
I am trying to run the paralleldemo_gpu_backslash, but i am getting this error:
Starting benchmarks with 8 different single-precision matrices of sizes
ranging from 1024-by-1024 to 158720-by-158720.
Creating a matrix of size 1024-by-1024.
Gigaflops on CPU: 39.848217
Error using gpuArray (line 28)
The CUDA driver was found, but it is too old. The CUDA driver on your system is version: 3.2. The required
CUDA version is: 4 or greater.
Error in paralleldemo_gpu_backslash/executeBenchmarks (line 108)
A = gpuArray(A);
Error in paralleldemo_gpu_backslash (line 117)
[cpu, gpu] = executeBenchmarks('single', sizeSingle);
I have installed cuda version 4 after matlab. If i open cmd and run nvcc --version gives release version 4. Also, the environmental variables are set.
Have you any idea;

답변 (1개)

John Melonakos
John Melonakos 2012년 1월 2일
My guess is that your driver is still too old. The driver install is different than the CUDA toolkit install. Best place to get drivers is http://nvidia.com/drivers

카테고리

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