diff options
| author | Mengchi Zhang <[email protected]> | 2019-07-03 14:54:16 -0400 |
|---|---|---|
| committer | Mengchi Zhang <[email protected]> | 2019-07-03 14:54:16 -0400 |
| commit | 60c38b0f77378eb111e88f632702d19dc3746cc7 (patch) | |
| tree | 36ce48f9e23cd20797b765c04b4161b08edf8398 /libcuda | |
| parent | cb60ae4893086175fee49dc6088d46665a7f088b (diff) | |
Remove g_filename
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'libcuda')
| -rw-r--r-- | libcuda/gpgpu_context.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libcuda/gpgpu_context.h b/libcuda/gpgpu_context.h index 69341be..d819559 100644 --- a/libcuda/gpgpu_context.h +++ b/libcuda/gpgpu_context.h @@ -10,12 +10,13 @@ class gpgpu_context { gpgpu_context() { g_global_allfiles_symbol_table = NULL; api = new cuda_runtime_api(); - ptxinfo = new ptxinfo_data(); - ptx_parser = new ptx_recognizer(); + ptxinfo = new ptxinfo_data(this); + ptx_parser = new ptx_recognizer(this); the_gpgpusim = new GPGPUsim_ctx(this); } // global list symbol_table *g_global_allfiles_symbol_table; + const char *g_filename; // objects pointers for each file cuda_runtime_api* api; ptxinfo_data* ptxinfo; |
