summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_loader.cc
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-06-12 18:03:35 -0400
committerMengchi Zhang <[email protected]>2019-06-12 18:03:35 -0400
commit7ac6034a99b52d09db7ef07bc008b8f6b039f929 (patch)
tree67110261a40f4c28426a32f60cd57a63dc833e53 /src/cuda-sim/ptx_loader.cc
parent7d02cbb061485db38ed8e5f6bf06c9b2fa40eed2 (diff)
Move print_ptx_file
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/cuda-sim/ptx_loader.cc')
-rw-r--r--src/cuda-sim/ptx_loader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuda-sim/ptx_loader.cc b/src/cuda-sim/ptx_loader.cc
index 2a6d930..38597e0 100644
--- a/src/cuda-sim/ptx_loader.cc
+++ b/src/cuda-sim/ptx_loader.cc
@@ -81,7 +81,7 @@ void ptx_reg_options(option_parser_t opp)
"0");
}
-void print_ptx_file( const char *p, unsigned source_num, const char *filename )
+void gpgpu_context::print_ptx_file( const char *p, unsigned source_num, const char *filename )
{
printf("\nGPGPU-Sim PTX: file _%u.ptx contents:\n\n", source_num );
char *s = strdup(p);