How can I solve "Error using gpuArray"
Afficher commentaires plus anciens
Error using gpuArray
An unexpected error occurred during CUDA execution. The CUDA error was:
unspecified launch failure
Error in SeriesNetwork/activations (line 346)
X = gpuArray(X);
Error in Untitled (line 115)
trainingFeatures = activations(convnet, trainingSet, featureLayer, ...
.. My GPU is CUDA-capable NVIDIA and compute capability higher 3.0... But I could not solve this problem. I'm glad you helped me.
3 commentaires
Joss Knight
le 3 Jan 2017
You'll need to provide more detail about your environment to help us reproduce this issue. What is your GPU, OS, CPU etc.
nancy mehta
le 15 Juil 2019
try restarting your pc
Ricardo de Azevedo
le 21 Nov 2019
I am facing the same problem now training an RNN and have tried both the TdrDelay to longer and the TdrLevel to 0.
Error:
Error using gpuArray/gatherAn unexpected error occurred during CUDA execution. The CUDA error was:CUDA_ERROR_LAUNCH_FAILED
The weird thing is the network trains for a while and then crashes, I can't really tell what triggers it.
(Using Matlab 2019b and latest NVIDIA drivers 441.20 for GTX 1080 Ti, Windows 10, i7-8700K)
Réponses (3)
Joss Knight
le 24 Déc 2016
0 votes
1 commentaire
Feyzanur Saglam
le 25 Déc 2016
Modifié(e) : Feyzanur Saglam
le 25 Déc 2016
Marius Bledea
le 26 Avr 2020
Modifié(e) : Walter Roberson
le 29 Avr 2020
0 votes
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!