summaryrefslogtreecommitdiff
path: root/debug_tools/WatchYourStep/ptxjitplus/ptxjitplus.h
diff options
context:
space:
mode:
authorJ <[email protected]>2018-07-20 11:40:44 -0700
committerJ <[email protected]>2018-07-20 11:40:44 -0700
commite22b3179ccdee8bfbd1e74f86d93e0d7fc9ae6dc (patch)
tree6e1b4a40c9e21809d1d547441feffcfedcd25232 /debug_tools/WatchYourStep/ptxjitplus/ptxjitplus.h
parent3a09960577b9c9cbcce8fedeef8874ccc533f378 (diff)
load param offsets with refactored code and look in middle of malloc'd area for pointer
Diffstat (limited to 'debug_tools/WatchYourStep/ptxjitplus/ptxjitplus.h')
-rw-r--r--debug_tools/WatchYourStep/ptxjitplus/ptxjitplus.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/debug_tools/WatchYourStep/ptxjitplus/ptxjitplus.h b/debug_tools/WatchYourStep/ptxjitplus/ptxjitplus.h
index 8fb5611..3c6e181 100644
--- a/debug_tools/WatchYourStep/ptxjitplus/ptxjitplus.h
+++ b/debug_tools/WatchYourStep/ptxjitplus/ptxjitplus.h
@@ -12,6 +12,13 @@
#ifndef _PTXJIT_H_
#define _PTXJIT_H_
+struct param{
+ bool isPointer;
+ size_t size;
+ unsigned char *data;
+ unsigned offset;
+};
+
/*
* PTX is equivalent to the following kernel:
*