How can I solve "Error using gpuArray"

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 件のコメント

Joss Knight
Joss Knight 2017 年 1 月 3 日
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
nancy mehta 2019 年 7 月 15 日
try restarting your pc
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 日

0 投票

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..

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeGPU Computing についてさらに検索

質問済み:

2016 年 12 月 22 日

編集済み:

2020 年 4 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by