summaryrefslogtreecommitdiff
path: root/libcuda
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-07-14 11:25:42 -0400
committerMengchi Zhang <[email protected]>2019-07-14 11:25:42 -0400
commit23c0bb224295dde9651fd915d854e4f7eafdf88f (patch)
tree89471b7f562d52f6880b534b8abc7bda24f7f373 /libcuda
parent4671280cfe7252bf875d071e667f57064250a1b7 (diff)
Move sm_next_access_uid
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'libcuda')
-rw-r--r--libcuda/gpgpu_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcuda/gpgpu_context.h b/libcuda/gpgpu_context.h
index c0b250a..07473be 100644
--- a/libcuda/gpgpu_context.h
+++ b/libcuda/gpgpu_context.h
@@ -11,6 +11,7 @@ class gpgpu_context {
public:
gpgpu_context() {
g_global_allfiles_symbol_table = NULL;
+ sm_next_access_uid=0;
api = new cuda_runtime_api(this);
ptxinfo = new ptxinfo_data(this);
ptx_parser = new ptx_recognizer(this);
@@ -21,6 +22,7 @@ class gpgpu_context {
// global list
symbol_table *g_global_allfiles_symbol_table;
const char *g_filename;
+ unsigned sm_next_access_uid;
// objects pointers for each file
cuda_runtime_api* api;
ptxinfo_data* ptxinfo;