diff options
| author | Mengchi Zhang <[email protected]> | 2019-06-12 18:49:58 -0400 |
|---|---|---|
| committer | Mengchi Zhang <[email protected]> | 2019-06-12 18:49:58 -0400 |
| commit | 5530b51c7c572d25717ad7f5d81196011dfcb540 (patch) | |
| tree | 387fa0f7eac183bbc3bf8b8e87d1e85dcd8e1f0c /libcuda | |
| parent | c146d3707216f235a1dde3bd978239fd55b111ed (diff) | |
Move symbol table globals
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'libcuda')
| -rw-r--r-- | libcuda/gpgpu_context.h | 2 |
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; |
