New to Nsight and GPU programming. I need a way to evaluate the affect my code has on power usage in the GPU.
This article from 2013 shows that the feature was part of Nsight's toolset at some point, but I cannot find any references to power profiling in the modern toolset.
Does this feature still exist in any capacity in the modern Nsight toolset? If not, what is the recommended method of evaluating power consumption of GPU code?
This feature is supported by the Visual Profiler and
nvprof. Both these tools are supported up to NVIDIA Volta architecture.You can use
nvidia-smi dmonoption-s/--select, if granularity in the range of seconds is sufficient. You could checknvidia-smi dmon -h.