diff options
| author | Wilson Fung <[email protected]> | 2012-03-02 02:09:25 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:19:04 -0700 |
| commit | 9103b5e31822eec864b54717d70b007cd325ba3f (patch) | |
| tree | a9e17993e3ac584f340a49f5def73b8f63ee7c5b /src/gpgpu-sim/addrdec.h | |
| parent | 7ed81817628be2fe625a0794e8f5c1f39e258992 (diff) | |
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]
Diffstat (limited to 'src/gpgpu-sim/addrdec.h')
| -rw-r--r-- | src/gpgpu-sim/addrdec.h | 2 |
1 files changed, 2 insertions, 0 deletions
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]; |
