diff options
| author | Mahmoud <[email protected]> | 2018-06-15 16:46:14 -0400 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2018-06-15 16:46:14 -0400 |
| commit | 1e1c08286a505418d0e3ad1ee819e15881e9cb43 (patch) | |
| tree | 0521ea6b3a8540a5dcd452c220d6da6a49e51564 /src/gpgpu-sim/addrdec.h | |
| parent | 738f04e8c31843855881b2e24ba318dce04be1cd (diff) | |
memory partition indexing
Diffstat (limited to 'src/gpgpu-sim/addrdec.h')
| -rw-r--r-- | src/gpgpu-sim/addrdec.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gpgpu-sim/addrdec.h b/src/gpgpu-sim/addrdec.h index fd9af8d..a18ff63 100644 --- a/src/gpgpu-sim/addrdec.h +++ b/src/gpgpu-sim/addrdec.h @@ -35,6 +35,13 @@ #include "../abstract_hardware_model.h" +enum partition_index_function{ + CONSECUTIVE = 0, + BITWISE_PERMUTATION, + IPOLY, + CUSTOM +}; + struct addrdec_t { void print( FILE *fp ) const; @@ -72,6 +79,7 @@ private: const char *addrdec_option; int gpgpu_mem_address_mask; + partition_index_function memory_partition_indexing; bool run_test; int ADDR_CHIP_S; |
