How can I change the OpenGL renderer?

48 ビュー (過去 30 日間)
Michael
Michael 2017 年 1 月 26 日
コメント済み: Michael 2017 年 2 月 1 日
I have two Nvidia GPUs (980 Ti and a Quadro) in my workstation. 'opengl info' shows Quadro as renderer. Can I change this with a Matlab command?

採用された回答

Sruthi Geetha
Sruthi Geetha 2017 年 1 月 30 日
編集済み: Sruthi Geetha 2017 年 1 月 30 日
For plotting and MATLAB graphics, you cannot currently choose which GPU is used from within MATLAB. MATLAB makes a call to the system through OpenGL and uses the device that the system provides. Generally this is the dedicated graphics card and not the integrated GPU if this is the setup you are describing. To see which one is being used, you can use the following command once MATLAB is installed:
>> opengl info
However, you can change the default graphics card in your system's Control Panel. Then MATLAB chooses that default graphics card. Here is a link which gives the steps to set the default graphics card in your system:
As far as performing GPU computations, MATLAB's Parallel Computing Toolbox currently supports NVIDIA GPUs that support CUDA 1.3 or later. To see the full list of supported GPUs, please click the following link:
When performing GPU computations, the device can be chosen by using the "gpuDevice" function.
  2 件のコメント
Walter Roberson
Walter Roberson 2017 年 1 月 30 日
If you have a utility that can do the switching then you could call it with system()
Michael
Michael 2017 年 2 月 1 日
'For plotting and MATLAB graphics, you cannot currently choose which GPU is used from within MATLAB. MATLAB makes a call to the system through OpenGL and uses the device that the system provides.' Thanks! That is what I wanted to know.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Performance についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by