diff options
| author | Mengchi Zhang <[email protected]> | 2019-07-10 15:03:16 -0400 |
|---|---|---|
| committer | Mengchi Zhang <[email protected]> | 2019-07-10 15:03:16 -0400 |
| commit | 87726d32ada00fcd93f2cf24ccae4ba593c4f9ec (patch) | |
| tree | c7de8c63151c9a65d29fe2c417045c1c5b45cccc /src/abstract_hardware_model.cc | |
| parent | c58d52ccde1eea6c45d0f8d2d5411bcf1ebab4f9 (diff) | |
Move g_pc_to_finfo
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/abstract_hardware_model.cc')
| -rw-r--r-- | src/abstract_hardware_model.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/abstract_hardware_model.cc b/src/abstract_hardware_model.cc index 248e7a5..ef09051 100644 --- a/src/abstract_hardware_model.cc +++ b/src/abstract_hardware_model.cc @@ -39,6 +39,7 @@ #include <sys/stat.h> #include <sstream> #include <iostream> +#include "../libcuda/gpgpu_context.h" unsigned mem_access_t::sm_next_access_uid = 0; unsigned warp_inst_t::sm_next_uid = 0; @@ -945,7 +946,7 @@ void simt_stack::print (FILE *fout) const } else { fprintf(fout," " ); } - ptx_print_insn( stack_entry.m_pc, fout ); + m_gpu->gpgpu_ctx->func_sim->ptx_print_insn( stack_entry.m_pc, fout ); fprintf(fout,"\n"); } |
