diff options
| author | gpgpu-sim <[email protected]> | 2018-10-29 13:55:31 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-10-29 13:55:31 -0700 |
| commit | 42d8d8c9b5b0eb93ff228a877fd6a5bed5cf956d (patch) | |
| tree | 7bc8917d1f685487d775975596f9b22a063e4aef /src/gpgpu-sim/addrdec.h | |
| parent | 68134d5eb326552fc1ef4b02b2eb21103266283b (diff) | |
| parent | ea226a289bcdf94811712a4563ae3eb334ee3a7b (diff) | |
Merge pull request #79 from purdue-aalp/dev
Merging dev-purdue to public-dev-gpgpu-sim-repo
Diffstat (limited to 'src/gpgpu-sim/addrdec.h')
| -rw-r--r-- | src/gpgpu-sim/addrdec.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gpgpu-sim/addrdec.h b/src/gpgpu-sim/addrdec.h index fd9af8d..bdc5fec 100644 --- a/src/gpgpu-sim/addrdec.h +++ b/src/gpgpu-sim/addrdec.h @@ -35,6 +35,14 @@ #include "../abstract_hardware_model.h" +enum partition_index_function{ + CONSECUTIVE = 0, + BITWISE_PERMUTATION, + IPOLY, + PAE, + CUSTOM +}; + struct addrdec_t { void print( FILE *fp ) const; @@ -72,6 +80,7 @@ private: const char *addrdec_option; int gpgpu_mem_address_mask; + partition_index_function memory_partition_indexing; bool run_test; int ADDR_CHIP_S; |
