Can I use gpuArrays inside spmd blocks
조회 수: 2 (최근 30일)
이전 댓글 표시
I am using spmd to run the same program on 4 sets of data. In one of the functions I need to do matrix operations on very huge matrices. Is it possible/advisable to use gpuArray here?
댓글 수: 0
답변 (1개)
Joss Knight
2016년 8월 20일
Have you tried? ;-) Yes, you can and it is advised. But if you only have one GPU and it's doing all the computation, you may not see much benefit from the additional parallelisation on the CPU.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 GPU Computing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!