gpu-compute: Added functions to choose replacement policies for GPU

Adding RP_choose function to change replacement policies among
TreePLRU, LRU, FIFO, LFU, LIP, MRU, NRU, RRIP, SecondChance AND ShiPMem replacement
policies  for TCC, TCP and SQC caches for GPU
This commit is contained in:
Jarvis Jia
2024-06-10 14:09:09 -05:00
parent 5b44eca64e
commit c158ce22bf

View File

@@ -1132,8 +1132,6 @@ def RP_choose(test_name):
replacement_policy = LRURP()
elif test_name == 'FIFORP':
replacement_policy = FIFORP()
elif test_name == 'LRURP':
replacement_policy = LRURP()
elif test_name == 'LFURP':
replacement_policy = LFURP()
elif test_name == 'LIPRP':