Full range of performance of the GPU calculation with neural network

3 views (last 30 days)
Hello,
I have the problem that my GPU (NVIDIA QUADRO M4000) does not bring full performance in neural networks despite GPU parallel compunting. I also tried other cards but did not get any better results either.
Can someone tell me why this may be?
I have already tried it with gpuArrays but only one GPU is used and not two as expected.
[net,tr] = train(net,traindata, targetclass,'useParallel','yes','useGPU','yes');
  5 Comments
Joss Knight
Joss Knight on 19 Nov 2017
Edited: Joss Knight on 19 Nov 2017
I see you are using 6 workers but you only have two GPUs. So the most each could be used is 33% of the time on each worker. You should only open a pool of two workers, one per GPU.
MG
MG on 20 Nov 2017
Thank you for your support.
I think the problem in my Script was the small net. When I increase the complexity of the net the GPU performance goes up to 80 %. So maybe my problem is not complex enough to use the full available performance.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!