From 330d2918e88419b3096fb57b58d222d5bccf2b14 Mon Sep 17 00:00:00 2001 From: Ahmed El-Shafiey Date: Tue, 19 Mar 2013 03:45:06 -0800 Subject: This should fix the NNC undefined memory locations bug. It turned out that the main problem is in the benchmark code itself. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15537] --- src/cuda-sim/ptx_sim.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cuda-sim/ptx_sim.cc') diff --git a/src/cuda-sim/ptx_sim.cc b/src/cuda-sim/ptx_sim.cc index 29351a0..e969e88 100644 --- a/src/cuda-sim/ptx_sim.cc +++ b/src/cuda-sim/ptx_sim.cc @@ -172,6 +172,7 @@ ptx_thread_info::ptx_thread_info( kernel_info_t &kernel ) m_enable_debug_trace = false; m_local_mem_stack_pointer = 0; m_gpu = NULL; + m_last_set_operand_value=ptx_reg_t(); } const ptx_version &ptx_thread_info::get_ptx_version() const -- cgit v1.3