Not able to use gpuArray in Matlab 2017a

4 vues (au cours des 30 derniers jours)
Jaffrey Hudson Immanuel Jeyakumar
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 commentaires
Edric Ellis
Edric Ellis le 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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur GPU Computing in MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by