GPU gather command clarification and GPU memory usage
Afficher commentaires plus anciens
Dear All,
1. If x is a gpuarray, and y its cpu correspondent, after the command
y=gather(x)
is x still on the GPU or is cleared (by being gathered on the cpu)?
2. Also, is there a way to see memory usage just on GPU at a certain time point, and not combined with the cpu memory usage?
3. Can x be saved on the hard drive without first being passed as y on the cpu?
Thank you,
Octavian.
1 commentaire
James Tursa
le 2 Avr 2015
Modifié(e) : James Tursa
le 2 Avr 2015
According to the sqrt(G) example in the doc, the gpuArray G still exists after the gather function, so that implies that your x above still exists as a gpuArray after the gather function.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur GPU Computing in MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!