Matlab crashes when I try to access Gpu

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)

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!

Categories

Products

Release

R2021a

Tags

Asked:

on 31 Mar 2023

Answered:

on 27 Sep 2024

Community Treasure Hunt

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

Start Hunting!