how to select the least used gpuDevice?

I run multiple matlab processes on several gpus on one machine. Is there a way to select the least used gpuDevice based on the current load? Thanks!

1 Comment

I think there's probably no automatic way to do this. You need to use the NVIDIA utility nvidia-smi to see the current loading of the GPUs on your system.

Answers (0)

This question is closed.

Tags

Asked:

on 7 Feb 2016

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!