diff options
| author | Mahmoud <[email protected]> | 2020-06-01 20:10:03 -0400 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2020-06-01 20:10:03 -0400 |
| commit | 7af8ce609ce0b9a9c92c92c140e83ade116d9370 (patch) | |
| tree | 5ba7caf8485437ede002396e0c7a148fc7eb5e77 /src | |
| parent | 183467b5d3063bf94a1b0ea8459f4d70a4da6942 (diff) | |
fixing the dram assert due to hashing error
Diffstat (limited to 'src')
| -rw-r--r-- | src/gpgpu-sim/addrdec.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgpu-sim/addrdec.cc b/src/gpgpu-sim/addrdec.cc index c01b8fa..19714ec 100644 --- a/src/gpgpu-sim/addrdec.cc +++ b/src/gpgpu-sim/addrdec.cc @@ -154,7 +154,7 @@ void linear_to_raw_address_translation::addrdec_tlx(new_addr_type addr, sub_partition = sub_partition % (m_n_channel * m_n_sub_partition_in_channel); - tlx->chip = sub_partition / m_n_channel; + tlx->chip = sub_partition / m_n_sub_partition_in_channel; tlx->sub_partition = sub_partition; assert(tlx->chip < m_n_channel); assert(tlx->sub_partition < m_n_channel * m_n_sub_partition_in_channel); |
