I was trying to use gpuArray in Matlab, for instance with the following Matlab provided example:
X = rand(10, ‘single’);
G = gpuArray(X);
classUnderlying(G) % Returns ‘single’
G2 = G .* G; % Performed on GPU
whos G2 % Result on GPU
But Matlab gives this error message. I checked online, it means the resources already mapped, which does not tell me much. How should I fix this? Previously I had no problem using gpuArray on my matlab. Thank you!
Error using gpuArray
An unexpected error occurred during CUDA execution. The CUDA error was:
I use Matlab 2013b and CUDA 5.5.