How can I solve "Error using gpuArray"

21 次查看(过去 30 天)
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 个评论
Ricardo de Azevedo
Ricardo de Azevedo 2019-11-21
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)

请先登录,再进行评论。

回答(3 个)

Joss Knight
Joss Knight 2016-12-24
  1 个评论
Feyzanur Saglam
Feyzanur Saglam 2016-12-25
编辑:Feyzanur Saglam 2016-12-25
thank you for the answer..I havent got pascal card. And my card compute capability lower 6.0 but I dont know why this problem originated..

请先登录,再进行评论。


Yahya Zakaria mohamed

Marius Bledea
Marius Bledea 2020-4-26
编辑:Walter Roberson 2020-4-29

类别

Help CenterFile Exchange 中查找有关 GPU Computing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by