How to fully utilize my CPU and GPU for running my code?

3 views (last 30 days)
I am running autoencoder with 10,000 neurons in the hidden layer and it takes very long time for the training. When I checked the task manager and seems like the CPU is not fully utilized.

Answers (1)

Walter Roberson
Walter Roberson on 26 Jan 2022
When you use 'UseGPU', true then autoencoder trains only on the GPU, with the CPU being used only to manage the training.
You cannot configure to train on both the GPU and the CPU simultaneously.
  2 Comments
Ng Yong Jie
Ng Yong Jie on 26 Jan 2022
I've tried 'UseGPU', true and this is the result. How can I make it fully utilize the GPU?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!