profile
Run commands under Nsight Systems or Nsight Compute to capture GPU kernel timing and metrics, then return the report path with a parsed kernel summary.
Instructions
Run a command under Nsight Systems (tool='nsys') or Nsight Compute (tool='ncu') and return the path of the report plus a parsed kernel summary. nsys gives the per-kernel time breakdown; ncu gives per-kernel metrics (achieved occupancy, DRAM throughput, SM throughput) and is much slower, so use ncu_kernel_regex to target one kernel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | Yes | ||
| cwd | No | ||
| tool | No | nsys | |
| out_dir | No | results/profiles | |
| timeout | No | ||
| ncu_kernel_regex | No | ||
| ncu_launch_count | No |