Question on GPU Computing

4 vues (au cours des 30 derniers jours)
Frankie Camacho
Frankie Camacho le 20 Sep 2020
Commenté : Frankie Camacho le 21 Sep 2020
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);

Réponses (1)

Matt J
Matt J le 20 Sep 2020
Modifié(e) : Matt J le 20 Sep 2020
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 commentaires
Matt J
Matt J le 21 Sep 2020
Modifié(e) : Matt J le 21 Sep 2020
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 le 21 Sep 2020
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...

Connectez-vous pour commenter.

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