How to calculate the total count of bytes were loaded/stored from/to global device memory?

Hello!
I have the nv-nsight-cu-cli --set=full --details-all output. I need to caclulate the total count of bytes were loaded/stored from/to global memory.
Is there any guidlines? Which metrics I should use?

Thanks!

I recommend that you inspect the collected report in the Nsight Compute UI (ncu-ui) and check which metrics are curated in section files for which logical domains. With respect to memory analysis, you should pay particular attention to the Memory Workload Analysis section. The included charts show the detailed memory analysis and the underlying metric(s) for each cell are given in the associated tooltips.

The specific metrics for your question are

dram__bytes_read.sum
dram__bytes_write.sum
2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.