summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-cache.cc
diff options
context:
space:
mode:
authortgrogers <[email protected]>2017-11-18 16:24:58 -0500
committertgrogers <[email protected]>2017-11-18 16:24:58 -0500
commitd8766e4eb7551afcc8c9ca168449bcd20974af60 (patch)
tree122ba282895893b6c678619175c8a36c65da1a68 /src/gpgpu-sim/gpu-cache.cc
parent9233f6f9eeea537187deb64add77a320442aa621 (diff)
Making the perf sim copy optional, getting rid of an assert that will happen with the new hack and incrementing the cycle so that cudamemcopies take some time (if we don't do this the LRU in the cache does not work)
Diffstat (limited to 'src/gpgpu-sim/gpu-cache.cc')
-rw-r--r--src/gpgpu-sim/gpu-cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgpu-sim/gpu-cache.cc b/src/gpgpu-sim/gpu-cache.cc
index 37fc5ea..e1e41a5 100644
--- a/src/gpgpu-sim/gpu-cache.cc
+++ b/src/gpgpu-sim/gpu-cache.cc
@@ -324,7 +324,7 @@ void tag_array::fill( new_addr_type addr, unsigned time, mem_access_sector_mask_
//assert( m_config.m_alloc_policy == ON_FILL );
unsigned idx;
enum cache_request_status status = probe(addr,idx,mask);
- assert(status==MISS||status==SECTOR_MISS); // MSHR should have prevented redundant memory request
+ //assert(status==MISS||status==SECTOR_MISS); // MSHR should have prevented redundant memory request
if(status==MISS)
m_lines[idx]->allocate( m_config.tag(addr), m_config.block_addr(addr), time, mask );
else if (status==SECTOR_MISS) {