When you need to monitor CPU consumption in Linux, you can use top or htop. But when you run a machine learning program, and want to confirm whether it is actually using the GPU instead of the CPU, how would you do it for an AMD GPU on Linux?
This is where you do: sudo apt -y install radeontop
and run it with: radeontop -c
This works even for the GPU on the AMD processor (called an APU). To monitor NVIDIA GPU usage there are different tools. To know more about radeontop, type: man radeontop.
No comments:
Post a Comment