From e22b3179ccdee8bfbd1e74f86d93e0d7fc9ae6dc Mon Sep 17 00:00:00 2001 From: J Date: Fri, 20 Jul 2018 11:40:44 -0700 Subject: load param offsets with refactored code and look in middle of malloc'd area for pointer --- debug_tools/WatchYourStep/ptxjitplus/ptxjitplus.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'debug_tools/WatchYourStep/ptxjitplus/ptxjitplus.h') 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: * -- cgit v1.3