HTML |
---|
<div style="background-color: yellow; border: 2px solid red; margin: 4px; padding: 2px; font-weight: bold; text-align: center;"> The HAL documentation has moved to <a href="https://docs.ncsa.illinois.edu/systems/hal/">https://docs.ncsa.illinois.edu/systems/hal/</a>. Please update any bookmarks you may have. <br> Click the link above if you are not automatically redirected in 7 seconds. </br> </div> <meta http-equiv="refresh" content="7; URL='https://docs.ncsa.illinois.edu/systems/hal/en/latest/user-guide/profiling/profile-gpu.html'" /> |
HAL system provides GPU profile functionality via NVIDIA Nsight System CLI and NVIDIA Nsight Compute CLI. Users can generate the profile result files on HAL system and then download them to their local machine to visualize.
...
We have prepared a simple VecAdd program under /opt/samples/profile/VecAdd, for NVIDIA Nsight System CLI
Code Block | ||
---|---|---|
| ||
swrun -p gpux1 cd module load cuda nsys profile /opt/samples/profile/ nsys profile VecAdd |
and for NVIDIA Nsight Compute CLI
Code Block |
---|
swrun -p gpux1 module load cuda module load nsight_compute/2019.5.1 cd /opt/samples/profile/ nv-nsight-cu-cli -o profile /opt/samples/profile/VecAdd |