Question on GPU Computing

조회 수: 11 (최근 30일)
Frankie Camacho
Frankie Camacho 2020년 9월 20일
댓글: Frankie Camacho 2020년 9월 21일
I'm running a low end ASUS GeForce GT 710 graphics card as a secondary card (I have a higher end AMD card that is not supported on MATLAB's platform). I wanted to know if there is any way to completely dedicate this card solely for GPU computing. My sense is that I get CUDA_ERROR_LAUNCH_FAILED and other TDR errors because the operating system wants to dedicate some of the card's resources for displays (although no display is connected to the card). I tried running the parallel computing demo and reached this 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 170)
mmTimesGPU(ii) = gputimeit(@() A*B);

답변 (1개)

Matt J
Matt J 2020년 9월 20일
편집: Matt J 2020년 9월 20일
Make sure you have updated drivers and make sure you restart your computer after their installation. Then use gpuDevice() to select the card you want Matlab to use.
  댓글 수: 3
Matt J
Matt J 2020년 9월 21일
편집: Matt J 2020년 9월 21일
I'm not sure why you would need Nsight to do that. The TDR parameters can be set through the Windows registry.
Frankie Camacho
Frankie Camacho 2020년 9월 21일
I think you are right, but alas I am not sure how to do this. I suppose expediency played a role here. I feel a little more secure knowing that the NVIDIA options don't affect my AMD card, or at least that's what I tell myself...

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

카테고리

Help CenterFile Exchange에서 Get Started with GPU Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by