Effacer les filtres
Effacer les filtres

Error in executing parallelde​mo_gpu_ben​chmark : An unexpected error occurred during CUDA execution. The CUDA error was: unspecified launch failure

2 vues (au cours des 30 derniers jours)
Hi, I'm Using a GeForce GTX 1050 GPU. when I run paralleldemo_gpu_benchmark in MATLAB R2017b,everything is OK till the "Achieved peak read+write speed on the host" part but when it reaches the CUDA part, I get the following error :
An unexpected error occurred during CUDA execution. The CUDA error was:
unspecified launch failure
Error in parallel.internal.gpu.timeit
Error in gputimeit (line 66)
t = parallel.internal.gpu.timeit(f, num_outputs);
Error in paralleldemo_gpu_benchmark (line 169)
mmTimesGPU(ii) = gputimeit(@() A*B);
Whats wrong? Thanks in advance.

Réponse acceptée

Matt J
Matt J le 24 Déc 2017
Possibly a time-out issue? See here for more info.
  6 commentaires
Bob Khosh
Bob Khosh le 25 Déc 2017
OK then ... guess I'll do the same ... Thanks again!
Joss Knight
Joss Knight le 26 Déc 2017
The downside of disabling the time-out is that your CUDA kernels can lock up your graphics and make your entire system unresponsive. Most CUDA programmers are fine with this, but each to their own really. You can instead just set the time-out to something very long like 30 seconds (TdrDelay).

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur GPU Computing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by