How can I assign *.mat table to GPU variable
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Steven Wu
le 8 Oct 2014
Réponse apportée : Steven Wu
le 9 Oct 2014
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 commentaires
Réponse acceptée
Edric Ellis
le 9 Oct 2014
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 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur GPU Computing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!