diff options
| author | Cesar Avalos <[email protected]> | 2023-05-15 13:27:02 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-15 13:27:02 -0400 |
| commit | f8f3feecf6bcfaad67f71ef285ace4b1c5228b6d (patch) | |
| tree | a5bac133d859cf7f39df00a8739ea381b9553d0b | |
| parent | 1c1e446a803cc7ae5fa3fe78c7212e63cd25c12e (diff) | |
| parent | 6dd3bfccf630d847917dc4d2608008f314fa43b4 (diff) | |
Merge branch 'dev' into aerielvision_stuff
| -rw-r--r-- | src/gpgpu-sim/gpu-cache.cc | 5 |
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 |
