필터 지우기
필터 지우기

Use GPU for the matlab code

조회 수: 1 (최근 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 CenterFile Exchange에서 GPU Computing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by