How can I assign *.mat table to GPU variable
2 次查看(过去 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!