Question on GPU Computing

6 次查看(过去 30 天)
Frankie Camacho
Frankie Camacho 2020-9-20
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 中查找有关 GPU Computing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by