Not able to use gpuArray in Matlab 2017a

3 ビュー (過去 30 日間)
Jaffrey Hudson Immanuel Jeyakumar
Jaffrey Hudson Immanuel Jeyakumar 2018 年 11 月 21 日
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 件のコメント
Edric Ellis
Edric Ellis 2018 年 11 月 22 日
There is no function called gpu. What happens if you try
x = gpuArray(magic(3))
Jaffrey Hudson Immanuel Jeyakumar
Jaffrey Hudson Immanuel Jeyakumar 2018 年 11 月 26 日
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

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGPU Computing in MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by