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