Select a group gpu's that are discontinuous in gpuDevice
Show older comments
On a 4 GPU machine I get the following output (truncated) from gpuDevice().
1. Titan V
2. GTX970
3. Titan V
4. Titan V
I want to use gpu's 1, 3, 4 in a multi-gpu pool. The problem is, the GTX970 is driving the display as a WDDM device and so cannot be set to 'prohibited' in nvidia-smi. Leaving it in the pool hugely reduces the batch size maximum and slows the system to a crawl.
How do I go about creating a pool that includes only gpu's 1,3,4 and not 2?
I've seen this answer (https://www.mathworks.com/matlabcentral/answers/351824-selecting-specific-gpus-for-parpool), but I cannot figure out how to adapt it to my situation.
Thanks!
Accepted Answer
More Answers (0)
Categories
Find more on Parallel Computing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!