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!
Best Answer