From 30022ecfff2ac894c0477f0ab3aac00708ac0550 Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Tue, 28 Dec 2010 17:26:16 -0800 Subject: the assertion [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 8304] --- src/cuda-sim/ptx_ir.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cuda-sim') diff --git a/src/cuda-sim/ptx_ir.h b/src/cuda-sim/ptx_ir.h index 71940ab..b68ebe2 100644 --- a/src/cuda-sim/ptx_ir.h +++ b/src/cuda-sim/ptx_ir.h @@ -1023,6 +1023,7 @@ public: m_size = size; } void add_data( param_t v ) { + assert( (!m_value_set) || (m_value.size == v.size) ); // if this fails concurrent kernel launches might execute incorrectly m_value_set = true; m_value = v; } -- cgit v1.3