summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/addrdec.h
diff options
context:
space:
mode:
authorWilson Fung <[email protected]>2013-08-28 22:33:43 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:58 -0700
commit1cf38dabd66231ab259efe086b1317373d722303 (patch)
tree11a1bfa2a6cb81aad2795623b7adff9c1b89907f /src/gpgpu-sim/addrdec.h
parent69d31fcda599d82e9bcf5970bdecbc181388e5ef (diff)
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]
Diffstat (limited to 'src/gpgpu-sim/addrdec.h')
-rw-r--r--src/gpgpu-sim/addrdec.h3
1 files changed, 2 insertions, 1 deletions
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;