So, I'm working on windows 7, matlab version r2013a.
Calling the gpuDevice function results in 1-2 seconds of pause, a "nvidia geforce gtx 660m device is not removable and cannot be ejected or unplugged" error message, that also happens to freeze my computer (can only force shut down to get out of this). I tried updating drivers, I tried downloading and installing CUDA kit, nothing helped.
Does anyone have an idea of what might be causing this, and how to go about making it work?

 채택된 답변

Joss Knight
Joss Knight 2016년 11월 30일

1 개 추천

Hi. This issue arises when a laptop reverts to using the integrated graphics chip instead of the NVIDIA device. There are two usual ways to get around it:
  1. If your laptop is in a lower power mode, this can force use of integrated graphics. Try changing your power settings to the highest performance and retry.
  2. In the NVIDIA Control Panel (available through the right-click menu on the desktop) you can set the 'Preferred graphics processor', either for individual programs, or globally for all programs. Change this to "High-performance NVIDIA processor" for MATLAB and retry. This setting is usually also available within the right-click context menu for your MATLAB shortcut icon.
In both cases you may have to reboot your machine for the changes to take effect.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

질문:

2016년 10월 20일

답변:

2016년 11월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by