summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_sim.cc
diff options
context:
space:
mode:
authorAhmed El-Shafiey <[email protected]>2013-03-19 03:45:06 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:05 -0700
commit330d2918e88419b3096fb57b58d222d5bccf2b14 (patch)
treec7bced4ca7a23b0724c89032f3e9178df4127332 /src/cuda-sim/ptx_sim.cc
parenta6002ba19d12eaa95482d087e45c6792fd8480fb (diff)
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]
Diffstat (limited to 'src/cuda-sim/ptx_sim.cc')
-rw-r--r--src/cuda-sim/ptx_sim.cc1
1 files changed, 1 insertions, 0 deletions
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