필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
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.

채택된 답변

Matt J
Matt J 2017년 12월 24일
Possibly a time-out issue? See here for more info.
  댓글 수: 6
Joss Knight
Joss Knight 2017년 12월 26일
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).

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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