summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMahmoud Khairy A. Abdallah <[email protected]>2021-05-15 09:15:38 -0400
committerMahmoud Khairy A. Abdallah <[email protected]>2021-05-15 09:15:38 -0400
commit134739518a4a0f8a66cbf8c8a44b1a0ce178f7d5 (patch)
tree03569ab5b0790b9d621e9a7d29d3c9f86648fec1 /src
parentf2a7d9ce6cd13977d97a0601d732551a5451ac71 (diff)
adding the missing xoring hashing
Diffstat (limited to 'src')
-rw-r--r--src/gpgpu-sim/gpu-cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-cache.h b/src/gpgpu-sim/gpu-cache.h
index aa0a7e8..b2db1c5 100644
--- a/src/gpgpu-sim/gpu-cache.h
+++ b/src/gpgpu-sim/gpu-cache.h
@@ -689,6 +689,9 @@ class cache_config {
case 'L':
m_set_index_function = LINEAR_SET_FUNCTION;
break;
+ case 'X':
+ m_set_index_function = BITWISE_XORING_FUNCTION;
+ break;
default:
exit_parse_error();
}