diff options
Diffstat (limited to 'src/gpgpu-sim/gpu-cache.cc')
| -rw-r--r-- | src/gpgpu-sim/gpu-cache.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-cache.cc b/src/gpgpu-sim/gpu-cache.cc index 76f9aef..af22c4c 100644 --- a/src/gpgpu-sim/gpu-cache.cc +++ b/src/gpgpu-sim/gpu-cache.cc @@ -59,6 +59,9 @@ const char *cache_fail_status_str(enum cache_reservation_fail_reason status) { } unsigned l1d_cache_config::set_bank(new_addr_type addr) const { + // For sector cache, we select one sector per bank (sector interleaving) + // This is what was found in Volta (one sector per bank, sector interleaving) + // otherwise, line interleaving if (m_cache_type == SECTOR) return (addr >> m_sector_sz_log2) & (l1_banks - 1); else |
