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/gpu-cache.h | |
| parent | 738f04e8c31843855881b2e24ba318dce04be1cd (diff) | |
memory partition indexing
Diffstat (limited to 'src/gpgpu-sim/gpu-cache.h')
| -rw-r--r-- | src/gpgpu-sim/gpu-cache.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gpgpu-sim/gpu-cache.h b/src/gpgpu-sim/gpu-cache.h index 76b07a2..d2b7757 100644 --- a/src/gpgpu-sim/gpu-cache.h +++ b/src/gpgpu-sim/gpu-cache.h @@ -464,8 +464,10 @@ enum mshr_config_t { }; enum set_index_function{ - FERMI_HASH_SET_FUNCTION = 0, - LINEAR_SET_FUNCTION, + LINEAR_SET_FUNCTION = 0, + BITWISE_XORING_FUNCTION, + HASH_IPOLY_FUNCTION, + FERMI_HASH_SET_FUNCTION, CUSTOM_SET_FUNCTION }; @@ -587,6 +589,7 @@ public: switch(sif){ case 'H': m_set_index_function = FERMI_HASH_SET_FUNCTION; break; + case 'P': m_set_index_function = HASH_IPOLY_FUNCTION; break; case 'C': m_set_index_function = CUSTOM_SET_FUNCTION; break; case 'L': m_set_index_function = LINEAR_SET_FUNCTION; break; default: exit_parse_error(); |
