Initial project scaffold
This commit is contained in:
11
tools/profile_nsys.sh
Executable file
11
tools/profile_nsys.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/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 "$@"
|
||||
|
||||
Reference in New Issue
Block a user