MATLAB Answers


parallel workers cannot see GPUs

Asked by David
on 16 Nov 2015
Latest activity Commented on by Subhra Saha on 18 Nov 2015
I'm currently working on code that should run on a number of different HPC machines with multiple GPUs. The machine I'm testing and developing my code hast just one GPU. The idea is to create a worker for each GPU found on the machine and then execute via a parfor loop some tasks on the GPUs. If I query gpuDeviceCount I get a 1 back but if I execute
parpool(1) % same is true for any number of workers
I always just get 0s back. Why are my workers unable to see the GPU?

0 Answers