Not able to use gpuArray in Matlab 2017a

4 views (last 30 days)
Hello,
I am using Matlab 2017a with student version for education purspose. I have my parallel toolbox included and my GPU is Nvidia Geforce 930MX. Matlab is able to recognise the CUDA for my GPU. But when I try a basic comment gpuArray in matlab it says error and tells " Undefined function or variable 'gpu' ". CAn anyone tell me how to solve this issue. ?
  2 Comments
Edric Ellis
Edric Ellis on 22 Nov 2018
There is no function called gpu. What happens if you try
x = gpuArray(magic(3))
Jaffrey Hudson Immanuel Jeyakumar
Hallo Edric,
Thank you for your reply. The above command works. It gives me a Random matrix of 3*3.
Then why is the above problem ?
Regards,
Jaffrey Hudson

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!