summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-cache.cc
diff options
context:
space:
mode:
authormkhairy <[email protected]>2021-02-19 08:22:35 -0500
committerGitHub <[email protected]>2021-02-19 08:22:35 -0500
commit2f966452a7c7c4a3ebb3a0c78965ff5c0afe2745 (patch)
tree8255ae734a6c09244a8634450be9f66d7b1a9d02 /src/gpgpu-sim/gpu-cache.cc
parent67f89abc740022b3feb67c4c77a92dfc256af009 (diff)
parent51d99259845a051a32e45763bdf3005b4dff74b5 (diff)
Merge pull request #9 from JRPan/fix-cache-hash
Fix cache hash function and renaming
Diffstat (limited to 'src/gpgpu-sim/gpu-cache.cc')
-rw-r--r--src/gpgpu-sim/gpu-cache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpgpu-sim/gpu-cache.cc b/src/gpgpu-sim/gpu-cache.cc
index 8f7ccd5..1c36d22 100644
--- a/src/gpgpu-sim/gpu-cache.cc
+++ b/src/gpgpu-sim/gpu-cache.cc
@@ -63,8 +63,8 @@ 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
- return cache_config::hash_function(addr, l1_banks, l1_banks_byte_interleaving,
- m_l1_banks_log2,
+ return cache_config::hash_function(addr, l1_banks, l1_banks_byte_interleaving_log2,
+ l1_banks_log2,
l1_banks_hashing_function);
}