Matlab crashes when I try to access Gpu

6 views (last 30 days)
Avi Adlakha
Avi Adlakha on 31 Mar 2023
Answered: Govind KM on 27 Sep 2024
Hi, I am running Matlab 2021a, and have Nvedia GeForce GTX 1660 Ti.
I have installed latest CUDA, both the toolkit and the driver, 12.1. But still my Matlab crashes, whenever I type "gpuDevice" or trainNetwork, or any command which uses gpu.
I have run out of things I can try, does anyone know where the problem might be?

Answers (1)

Govind KM
Govind KM on 27 Sep 2024
Hi Avi,
The most common reasons for MATLAb crashing when accessing the GPU are:
Providing the crash log would help in debugging the issue further. For help in locating the crash log files, refer to the article below:
If the issue still persists, you can consider contacting MathWorks Technical Support.
Hope this is helpful!

Tags

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!