Question on GPU Computing
显示 更早的评论
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 个)
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.
类别
在 帮助中心 和 File 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!