From 9103b5e31822eec864b54717d70b007cd325ba3f Mon Sep 17 00:00:00 2001 From: Wilson Fung Date: Fri, 2 Mar 2012 02:09:25 -0800 Subject: Fixed bug 137. Now memory address mapping with non-power-of-two memory partitions will not lead to address aliasing. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 11574] --- src/gpgpu-sim/addrdec.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gpgpu-sim/addrdec.h') diff --git a/src/gpgpu-sim/addrdec.h b/src/gpgpu-sim/addrdec.h index 634981d..94b113a 100644 --- a/src/gpgpu-sim/addrdec.h +++ b/src/gpgpu-sim/addrdec.h @@ -57,6 +57,7 @@ public: private: void addrdec_parseoption(const char *option); + void sweep_test() const; // sanity check to ensure no overlapping enum { CHIP = 0, @@ -69,6 +70,7 @@ private: const char *addrdec_option; int gpgpu_mem_address_mask; + bool run_test; int ADDR_CHIP_S; unsigned char addrdec_mklow[N_ADDRDEC]; -- cgit v1.3