diff options
| author | Mahmoud <[email protected]> | 2019-09-12 18:30:18 -0400 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2019-09-12 18:30:18 -0400 |
| commit | 5753f2236b73be3e2a1a49a55fc5c52310eba622 (patch) | |
| tree | c30d62bb70f62a7930f4fa0763c219b103b622d3 /src/cuda-sim/ptx_parser.cc | |
| parent | 6ce5e06d2389cad5041b495d5516b503ec7d2cd2 (diff) | |
| parent | bea40c4a22a86fddbf1f7845265697716727f8b1 (diff) | |
Merge branch 'dev' of https://github.com/purdue-aalp/gpgpu-sim_distribution into dev-traces
Diffstat (limited to 'src/cuda-sim/ptx_parser.cc')
| -rw-r--r-- | src/cuda-sim/ptx_parser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuda-sim/ptx_parser.cc b/src/cuda-sim/ptx_parser.cc index 9e9d500..24af3ad 100644 --- a/src/cuda-sim/ptx_parser.cc +++ b/src/cuda-sim/ptx_parser.cc @@ -421,7 +421,7 @@ void ptx_recognizer::add_identifier( const char *identifier, int array_dim, unsi assert( (num_bits%8) == 0 ); addr = g_current_symbol_table->get_sstarr_next(); addr_pad = pad_address(addr, num_bits/8, 128); - printf("from 0x%x to 0x%lx (sstarr memory space)\n", + printf("from 0x%llx to 0x%llx (sstarr memory space)\n", addr+addr_pad, addr+addr_pad + num_bits/8); fflush(stdout); |
