From 1cf38dabd66231ab259efe086b1317373d722303 Mon Sep 17 00:00:00 2001 From: Wilson Fung Date: Wed, 28 Aug 2013 22:33:43 -0800 Subject: Fixing the intra-partition address calculation so that every set in L2 cache is used. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16904] --- src/gpgpu-sim/addrdec.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gpgpu-sim/addrdec.h') diff --git a/src/gpgpu-sim/addrdec.h b/src/gpgpu-sim/addrdec.h index f16c9b1..fd9af8d 100644 --- a/src/gpgpu-sim/addrdec.h +++ b/src/gpgpu-sim/addrdec.h @@ -78,7 +78,8 @@ private: unsigned char addrdec_mklow[N_ADDRDEC]; unsigned char addrdec_mkhigh[N_ADDRDEC]; new_addr_type addrdec_mask[N_ADDRDEC]; - + new_addr_type sub_partition_id_mask; + unsigned int gap; int m_n_channel; int m_n_sub_partition_in_channel; -- cgit v1.3