How to use both GPU devices in the laptop

31 Ansichten (letzte 30 Tage)
Sunil
Sunil am 7 Dez. 2024 um 4:05
Kommentiert: Walter Roberson am 7 Dez. 2024 um 18:10
Hi all,
I have 2 GPUs available in my laptop as listed in the task manager, but gpuDeviceTable lists only one .
How can I enable both the GPUs and run my job in both the GPUs.
I am using Matlab 2024b on Windows 11 .
Any thoughts and ideas towards this is much appreciated
Sunil

Antworten (2)

Walter Roberson
Walter Roberson am 7 Dez. 2024 um 5:51
MATLAB is only able to use NVIDIA GPUs for deliberate GPU access.
MATLAB has no way of accessing the Intel Iris Xe GPU in the GPU table.
  2 Kommentare
Sunil
Sunil am 7 Dez. 2024 um 7:15
Thanks for the quick reply .
Is there any way to overcome this ?
Walter Roberson
Walter Roberson am 7 Dez. 2024 um 18:10
Well, you can call out from MATLAB to one of the Python GPU implementations; perhaps even a commercial version from ArrayFire

Melden Sie sich an, um zu kommentieren.


Joss Knight
Joss Knight am 7 Dez. 2024 um 15:39
You cannot use your Intel Iris GPU for numerical computation in MATLAB. The best way to use both GPUs is to make sure your integrated GPU is enabled for hardware accelerated graphics, leaving your NVIDIA GPU free for compute. If you're doing something graphics-intensive, such as volumetric rendering, or RoadRunner simulation, you'll find this parallelism useful.

Produkte


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by