diff options
| author | Mengchi Zhang <[email protected]> | 2019-07-11 11:10:28 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-07-11 11:10:28 -0400 |
| commit | aa12db699a540ea7b4ed4b913be6ef3155fc68d6 (patch) | |
| tree | ea1cede9a3dcd7afbbdc5d844135906e565e79e7 /src/abstract_hardware_model.cc | |
| parent | 460e779f45faa545c263e2d3316935b9fc083876 (diff) | |
| parent | cf13f05351636d178ee30c3a57872c33ef5a4e47 (diff) | |
Merge pull request #24 from echoedit/dev
Dev
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"); } |
