We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
This command gives the maximum amount of memory used by ls:
ls
/usr/bin/time -v ls Maximum resident set size (kbytes): 1116
getrusage() can be used in code.
getrusage()
Nsight shows the used memory amount.
nsys profile --cuda-memory-usage=true ./tester --dim 1000 --target d gemm