Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

parallel workers cannot see GPUs

조회 수: 1 (최근 30일)
David
David 2015년 11월 16일
마감: MATLAB Answer Bot 2021년 8월 20일
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
spmd
gpuDeviceCount
end
I always just get 0s back. Why are my workers unable to see the GPU?

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by