diff options
| author | Tor Aamodt <[email protected]> | 2010-12-28 17:26:16 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-12-28 17:26:16 -0800 |
| commit | 30022ecfff2ac894c0477f0ab3aac00708ac0550 (patch) | |
| tree | 80317bebd92b59a18354084f61bc588e7138db67 /src/cuda-sim | |
| parent | 47afff48be8f59c6cfcb86eded3a337b63130b18 (diff) | |
the assertion
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 8304]
Diffstat (limited to 'src/cuda-sim')
| -rw-r--r-- | src/cuda-sim/ptx_ir.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |
