summaryrefslogtreecommitdiff
path: root/debug_tools/WatchYourStep/ptxjitplus/launchkernels
diff options
context:
space:
mode:
authorDeval Shah <[email protected]>2018-11-09 21:14:55 -0800
committerDeval Shah <[email protected]>2018-11-09 21:14:55 -0800
commit36496d4ab2ff1088979e0f3137c54592652c37da (patch)
treeca449a4dc68abd5355764ae1bc50ca6ea5888fec /debug_tools/WatchYourStep/ptxjitplus/launchkernels
parent0265d747b06c18d0a1ee00fb1641032201425c97 (diff)
parent0e8d4f190940681601bdf7f95a5686baa0b6463b (diff)
resolving merge conflict
Diffstat (limited to 'debug_tools/WatchYourStep/ptxjitplus/launchkernels')
-rw-r--r--debug_tools/WatchYourStep/ptxjitplus/launchkernels4
1 files changed, 4 insertions, 0 deletions
diff --git a/debug_tools/WatchYourStep/ptxjitplus/launchkernels b/debug_tools/WatchYourStep/ptxjitplus/launchkernels
new file mode 100644
index 0000000..56655a3
--- /dev/null
+++ b/debug_tools/WatchYourStep/ptxjitplus/launchkernels
@@ -0,0 +1,4 @@
+#Launches kernels from $1 to $2
+#Note must source this script
+export PTX_SIM_DEBUG=0;
+for num in $(eval echo {$1..$2}); do export WYS_LAUNCH_NUM=$num; echo Launching kernel $num...; ./ptxjitplus; done