How can I assign *.mat table to GPU variable
조회 수: 4 (최근 30일)
이전 댓글 표시
Dear all, I would like to ask, is there a method to assign a table (which you load it from *.mat file) to GPU ? The table consists of type of the data and the properties of the data. It is very important for my code to assign that table to GPU, because I have to call the value of the table frequently during my iteration.
Thanks :)
댓글 수: 0
채택된 답변
Edric Ellis
2014년 10월 9일
You can send data to the GPU using the gpuArray function, however that is only allowed for ordinary array types. Also note that to get the real benefit from GPU computing, you need to use vectorised computations.
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
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!