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

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.

 Akzeptierte Antwort

Possibly a time-out issue? See here for more info.

6 Kommentare

Thanks, I’ll try to disable timeout and run the code asap.
You may need to reboot first as well.
Thanks a lot ... The script ran without any errors ... but i'm a bit concerned about hardware issues ... is it possible that this change harm my device in any way? Is it OK to keep this option disabled?
OK then ... guess I'll do the same ... Thanks again!
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).

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Gefragt:

am 24 Dez. 2017

Kommentiert:

am 26 Dez. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by