summaryrefslogtreecommitdiff
path: root/debug_tools/WatchYourStep/ptxjitplus/launchkernels
diff options
context:
space:
mode:
authorJonathan <[email protected]>2018-07-04 16:41:20 -0700
committerJonathan <[email protected]>2018-07-04 16:41:20 -0700
commit7c4f9d7bff7b1725f3da6ddc8abf3f77a1cbe6f5 (patch)
treefdb10fc6459a13cc8aa9634fc9134f6ef1569d23 /debug_tools/WatchYourStep/ptxjitplus/launchkernels
parent1fddb06b153a3e5fbc255e89bb6861cce1319039 (diff)
dumps ptx kernels and scripts to launch all kernels
Diffstat (limited to 'debug_tools/WatchYourStep/ptxjitplus/launchkernels')
-rw-r--r--debug_tools/WatchYourStep/ptxjitplus/launchkernels3
1 files changed, 3 insertions, 0 deletions
diff --git a/debug_tools/WatchYourStep/ptxjitplus/launchkernels b/debug_tools/WatchYourStep/ptxjitplus/launchkernels
new file mode 100644
index 0000000..d2fd015
--- /dev/null
+++ b/debug_tools/WatchYourStep/ptxjitplus/launchkernels
@@ -0,0 +1,3 @@
+#Launches kernels from $1 to $2
+#Note must source this script
+for num in $(eval echo {$1..$2}); do export WYS_LAUNCH_NUM=$num; echo Launching kernel $num...; ./ptxjitplus; done