diff options
| author | Mengchi Zhang <[email protected]> | 2019-07-11 01:47:04 -0400 |
|---|---|---|
| committer | Mengchi Zhang <[email protected]> | 2019-07-11 01:47:04 -0400 |
| commit | e6f475eaa9c27cd601033c37321466010299dabf (patch) | |
| tree | d34b5264256fb154aa3722364030ad5a89a102f1 /src/cuda-sim/ptx_loader.cc | |
| parent | cf13f05351636d178ee30c3a57872c33ef5a4e47 (diff) | |
Move g_inst_lookup
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/cuda-sim/ptx_loader.cc')
| -rw-r--r-- | src/cuda-sim/ptx_loader.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuda-sim/ptx_loader.cc b/src/cuda-sim/ptx_loader.cc index 2bf464c..891828a 100644 --- a/src/cuda-sim/ptx_loader.cc +++ b/src/cuda-sim/ptx_loader.cc @@ -90,7 +90,7 @@ void gpgpu_context::print_ptx_file( const char *p, unsigned source_num, const ch while ( (*u != '\n') && (*u != '\0') ) u++; unsigned last = (*u == '\0'); *u = '\0'; - const ptx_instruction *pI = ptx_instruction_lookup(filename,n); + const ptx_instruction *pI = ptx_parser->ptx_instruction_lookup(filename,n); char pc[64]; if( pI && pI->get_PC() ) snprintf(pc,64,"%4u", pI->get_PC() ); |
