Use GPU for the matlab code

2 ビュー (過去 30 日間)
Virtualkeeda
Virtualkeeda 2021 年 7 月 8 日
コメント済み: Virtualkeeda 2021 年 7 月 10 日
I have computations on structs in my code with a label identifier and other numerical values. What I could understand is I can use gpuArray only for numerical computations but whenever it encounter a logical operation, it doesnt work. Is there a way out of this problem?
Can anyone please help?
  10 件のコメント
Virtualkeeda
Virtualkeeda 2021 年 7 月 9 日
Yes, the actual input data is in dnn.W,dnn.b etc.
Also, yes rbm is an struct containing a struct and a identifier type with labels like 'DNN', 'BBDBN' etc... But I think I cannot pass this rbm struct to gpuArray.
I guess, I will again have to go through the documentation on gpuArray.
Virtualkeeda
Virtualkeeda 2021 年 7 月 10 日
Hello @Joss Knight, I could now use the gpuArray successfully. Thanks for your help and suggestions.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeBig Data Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by