diff options
| author | mkhairy <[email protected]> | 2021-02-19 08:22:35 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-19 08:22:35 -0500 |
| commit | 2f966452a7c7c4a3ebb3a0c78965ff5c0afe2745 (patch) | |
| tree | 8255ae734a6c09244a8634450be9f66d7b1a9d02 /src/gpgpu-sim/gpu-cache.h | |
| parent | 67f89abc740022b3feb67c4c77a92dfc256af009 (diff) | |
| parent | 51d99259845a051a32e45763bdf3005b4dff74b5 (diff) | |
Merge pull request #9 from JRPan/fix-cache-hash
Fix cache hash function and renaming
Diffstat (limited to 'src/gpgpu-sim/gpu-cache.h')
| -rw-r--r-- | src/gpgpu-sim/gpu-cache.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpgpu-sim/gpu-cache.h b/src/gpgpu-sim/gpu-cache.h index 26369c3..00c09ae 100644 --- a/src/gpgpu-sim/gpu-cache.h +++ b/src/gpgpu-sim/gpu-cache.h @@ -817,15 +817,15 @@ class l1d_cache_config : public cache_config { l1d_cache_config() : cache_config() {} unsigned set_bank(new_addr_type addr) const; void init(char *config, FuncCache status) { - m_banks_byte_interleaving_log2 = LOGB2(l1_banks_byte_interleaving); - m_l1_banks_log2 = LOGB2(l1_banks); + l1_banks_byte_interleaving_log2 = LOGB2(l1_banks_byte_interleaving); + l1_banks_log2 = LOGB2(l1_banks); cache_config::init(config, status); } unsigned l1_latency; unsigned l1_banks; - unsigned m_l1_banks_log2; + unsigned l1_banks_log2; unsigned l1_banks_byte_interleaving; - unsigned m_banks_byte_interleaving_log2; + unsigned l1_banks_byte_interleaving_log2; unsigned l1_banks_hashing_function; }; |
