Files
kernel-lab/tools/profile_nsys.sh
2026-04-10 13:22:19 +00:00

12 lines
215 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
if [[ $# -eq 0 ]]; then
echo "usage: $0 <command ...>"
exit 1
fi
mkdir -p profile-output
nsys profile --trace=cuda,nvtx,osrt --sample=none -o profile-output/profile "$@"