diff options
| author | Tor Aamodt <[email protected]> | 2010-10-24 13:05:48 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-10-24 13:05:48 -0800 |
| commit | 826a0dc10ca939af1f2c24d0d2e63eb2b33cb731 (patch) | |
| tree | 109e36f1d5a1f1c8e6d9c94b4c81c27e8fd46944 /src/cuda-sim/cuda-sim.cc | |
| parent | ad07a5645d60d1db972d1a063585deb1a9ac229c (diff) | |
1. updates to .gdbinit file
2. update texture to bypass ROP-delay queue... correlation now 0.9592
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7912]
Diffstat (limited to 'src/cuda-sim/cuda-sim.cc')
| -rw-r--r-- | src/cuda-sim/cuda-sim.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cuda-sim/cuda-sim.cc b/src/cuda-sim/cuda-sim.cc index 1967b2f..1982218 100644 --- a/src/cuda-sim/cuda-sim.cc +++ b/src/cuda-sim/cuda-sim.cc @@ -427,6 +427,7 @@ void gpgpu_t::gpu_memset( size_t dst_start_addr, int c, size_t count ) void ptx_print_insn( address_type pc, FILE *fp ) { + static unsigned size=1; std::map<unsigned,function_info*>::iterator f = g_pc_to_finfo.find(pc); if( f == g_pc_to_finfo.end() ) { fprintf(fp,"<no instruction at address 0x%x>", pc ); @@ -434,7 +435,7 @@ void ptx_print_insn( address_type pc, FILE *fp ) } function_info *finfo = f->second; assert( finfo ); - finfo->print_insn(pc,fp); + size = finfo->print_insn(pc,fp); } void ptx_instruction::set_opcode_and_latency() |
