Problem with the graphics driver or with this GPU device

Dear Robert,

When I run
V0=ones(n_k,n_z,‘gpuArray’); in PijoanMas2006_Fn.mt,

I meet the error message:
There is a problem with the graphics driver or with this GPU device. Be sure that you have a supported GPU and
that the latest driver is installed.

Error in PijoanMas2006_Fn (line 67)
V0=ones(n_k,n_z,‘gpuArray’); %(a,s)

Caused by:
The CUDA driver could not be loaded. The library name used was ‘nvcuda.dll’. The error was:
The specified module could not be found.

So, do I need some graphic driver that support CUDA?

I tried ‘parallel=0’ , but it produces same error message.

Thank you.

Best,
Seungcheol

Try just running the following command in Matlab:
ones(2,2,'gpuArray')

If this gives an error then either you don’t have a GPU or it is not set up for matlab. To use Matlab with a GPU you require an NVIDIA gpu and need to install CUDA. (Technically the NVIDIA GPU must be a CUDA-enabled one, but that is essentially all NVIDIA GPUs nowadays.)

Let me know how this goes.