GPU parallel computing error with Quadro RTX 5000
Afficher commentaires plus anciens
Hello,
I've been using a Tesla GPU card with 6GB RAM with R2012a for a number of years and it has worked well. But now I need to work on larger matrix sizes (e.g., 8192x8192 fft2) the good old Tesla card can't handle anymore. So recently we bought a new Quadro RTX 5000 with 16GB RAM. The 10.1 NVidia driver installed successfully:

Then I ran the following test code (gputest.m):
M = 4095;
a = rand(M); %Create M*M matrix of random numbers
b = gpuArray(a); %Send the array to GPU memory
c = 2*b; %Perform some operation
It runs sucessfully. But when I change M to 4096:
M = 4096;
a = rand(M); %Create M*M matrix of random numbers
b = gpuArray(a); %Send the array to GPU memory
c = 2*b; %Perform some operation
>> gputest
Error using parallel.gpu.GPUArray/mtimes
An unexpected error occurred trying to launch a kernel. The CUDA error
was: CUDA_ERROR_INVALID_VALUE.
Error in gputest (line 8)
c = 2*b; %Perform some operation
It seems the maximum matrix size the new Quadro RTX 5000 card can handle is 4095x4095. I can transfer larger matrices to GPU (b = gpuArray(a) with M > 4095 doesn't give errors), just can't perform any operations on them. Any ideas? Are there some settings for the GPU driver I need to change?
Thank you.
4 commentaires
Matt J
le 1 Avr 2019
Rebooting after a new driver installation is always good.
Xinbing Liu
le 1 Avr 2019
Matt J
le 1 Avr 2019
There's no way you can upgrade from 2012a?
Xinbing Liu
le 1 Avr 2019
Réponse acceptée
Plus de réponses (1)
Xinbing Liu
le 5 Avr 2019
0 votes
Catégories
En savoir plus sur Get Started with GPU Coder dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!