Runing code with matlab on the GPU restarts the PC
Afficher commentaires plus anciens
We have Z820 worksation which have 192GB RAM and RTX2080 TI GPU on it. When I wrote below code
X values which is small (X<4000) it works. But big values PC restart itself after run the code . I set up latest nvida cuda drivers .
Would you give me advices??
X=4000;
tempCPU= single(rand(X,X))
tempGPU= gpuArray(tempCPU)
time=gputimeit(@()(tempGPU*tempGPU))
2 commentaires
Raymond Norris
le 6 Jan 2021
Just to clarify, for large values for X, MATLAB runs the code and then your machine reboots (i.e. restarts)? What values of X are you seeing this happen?
ahmet emir
le 6 Jan 2021
Modifié(e) : ahmet emir
le 6 Jan 2021
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur GPU Computing 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!