summaryrefslogtreecommitdiff
path: root/libcuda
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-06-12 18:49:58 -0400
committerMengchi Zhang <[email protected]>2019-06-12 18:49:58 -0400
commit5530b51c7c572d25717ad7f5d81196011dfcb540 (patch)
tree387fa0f7eac183bbc3bf8b8e87d1e85dcd8e1f0c /libcuda
parentc146d3707216f235a1dde3bd978239fd55b111ed (diff)
Move symbol table globals
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 b586e47..fa5d02b 100644
--- a/libcuda/gpgpu_context.h
+++ b/libcuda/gpgpu_context.h
@@ -7,11 +7,13 @@
class gpgpu_context {
public:
gpgpu_context() {
+ g_global_allfiles_symbol_table = NULL;
api = new cuda_runtime_api();
ptxinfo = new ptxinfo_data();
ptx_parser = new ptx_recognizer();
}
// global list
+ symbol_table *g_global_allfiles_symbol_table;
// objects pointers for each file
cuda_runtime_api* api;
ptxinfo_data* ptxinfo;