![]() |
HTGS
v2.0
The Hybrid Task Graph Scheduler
|
The HTGS API supports visualizing a task graph using the Nsight Systems visualization tool. Nsight Systems is a powerful tool to show a timeline of the execution of a process and visualize how HTGS tasks and graphs interact.
To enable NVTX profiling add the following directive during compilation (for graphs with less than 25 tasks):
To profile graphs with more than 24 tasks add the following directives during compilation:
For convenience, we have included the FindNVTX.cmake cmake module example usage:
With the FindNVXT.cmake script, you can specify the NVTX_INCLUDE_DIR when reloading cmake.
Within Nsight Systems there are two tools:
After compiling HTGS with NVTX enabled, you can profile your application with the following command:
By default, this will generate a report file in $HOME$/nvidia_nsight_systems/report#.qdsrtm.
This file can then be imported using nsight-sys to visualize.