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 /src/cuda-sim/ptx_loader.h | |
| parent | cb60ae4893086175fee49dc6088d46665a7f088b (diff) | |
Remove g_filename
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/cuda-sim/ptx_loader.h')
| -rw-r--r-- | src/cuda-sim/ptx_loader.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cuda-sim/ptx_loader.h b/src/cuda-sim/ptx_loader.h index 77f27c8..c214b95 100644 --- a/src/cuda-sim/ptx_loader.h +++ b/src/cuda-sim/ptx_loader.h @@ -30,13 +30,18 @@ #include <string> #define PTXINFO_LINEBUF_SIZE 1024 +class gpgpu_context; typedef void * yyscan_t; class ptxinfo_data{ public: + ptxinfo_data(gpgpu_context* ctx) { + gpgpu_ctx = ctx; + } yyscan_t scanner; char linebuf[PTXINFO_LINEBUF_SIZE]; unsigned col; const char *g_ptxinfo_filename; + class gpgpu_context* gpgpu_ctx; void ptxinfo_addinfo(); }; |
