summaryrefslogtreecommitdiff
path: root/debug_tools/WatchYourStep/ptxjitplus/launchkernels
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2020-07-15 14:42:42 -0700
committerTor Aamodt <[email protected]>2020-07-15 14:42:42 -0700
commit5e8e84976b63186ce4682e3dbb1bea84542558a9 (patch)
tree2610cd196eba67032ff664c3bae192eb0b434d79 /debug_tools/WatchYourStep/ptxjitplus/launchkernels
parent089446c9898b050f36e854eebff5dbd33332dce8 (diff)
parent53e63b9b5684388ad102848275efe524d68aab01 (diff)
Merge branch 'dev'
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