summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.cc
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-07-11 11:10:28 -0400
committerGitHub <[email protected]>2019-07-11 11:10:28 -0400
commitaa12db699a540ea7b4ed4b913be6ef3155fc68d6 (patch)
treeea1cede9a3dcd7afbbdc5d844135906e565e79e7 /src/abstract_hardware_model.cc
parent460e779f45faa545c263e2d3316935b9fc083876 (diff)
parentcf13f05351636d178ee30c3a57872c33ef5a4e47 (diff)
Merge pull request #24 from echoedit/dev
Dev
Diffstat (limited to 'src/abstract_hardware_model.cc')
-rw-r--r--src/abstract_hardware_model.cc3
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");
}