summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCesar Avalos <[email protected]>2023-05-15 13:27:02 -0400
committerGitHub <[email protected]>2023-05-15 13:27:02 -0400
commitf8f3feecf6bcfaad67f71ef285ace4b1c5228b6d (patch)
treea5bac133d859cf7f39df00a8739ea381b9553d0b
parent1c1e446a803cc7ae5fa3fe78c7212e63cd25c12e (diff)
parent6dd3bfccf630d847917dc4d2608008f314fa43b4 (diff)
Merge branch 'dev' into aerielvision_stuff
-rw-r--r--src/gpgpu-sim/gpu-cache.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-cache.cc b/src/gpgpu-sim/gpu-cache.cc
index 3a5a67d..b3105ae 100644
--- a/src/gpgpu-sim/gpu-cache.cc
+++ b/src/gpgpu-sim/gpu-cache.cc
@@ -409,6 +409,11 @@ void tag_array::fill(new_addr_type addr, unsigned time,
// assert( m_config.m_alloc_policy == ON_FILL );
unsigned idx;
enum cache_request_status status = probe(addr, idx, mask, is_write);
+
+ if (status == RESERVATION_FAIL) {
+ return;
+ }
+
bool before = m_lines[idx]->is_modified_line();
// assert(status==MISS||status==SECTOR_MISS); // MSHR should have prevented
// redundant memory request