diff options
| author | Timothy G Rogers <[email protected]> | 2018-10-03 17:52:06 -0400 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2018-10-03 17:52:06 -0400 |
| commit | 73c95f79a8cc6fef19d787855b4c50df0edcb743 (patch) | |
| tree | 6a118dd1529d647a0e01748b5e96e35a8b8cf56e /src/gpgpu-sim/addrdec.h | |
| parent | 067eac2a618bbca0c6be019f047f14ecdb266efb (diff) | |
| parent | ab80c6b75b7479caf8f0711ea1a6fbd7f93697f9 (diff) | |
Merge pull request #21 from abdallm/dev-purdue-integration
A few little things and some sizeable changes: Added memory partition indexing, some configuration file updates, fixed the texture cache so apps that use tex memory will no longer crash.
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; |
