summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-cache.cc
diff options
context:
space:
mode:
authorAhmed El-Shafiey <[email protected]>2013-04-15 12:19:36 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:46 -0700
commit5921d9d73d32e2eec38a4b154c4c71759ffb8a5f (patch)
tree09716a218ebe0ffa1910f94c8c2811ce69dc7f3b /src/gpgpu-sim/gpu-cache.cc
parent77cdf0905eea68880c7ef15b041e7ebfad301c2f (diff)
make sure L1 cache is flushed at a configuration change between kernels, even if flushing L1 cache between kernels option is not set
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15834]
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 3d8d911..28fcd5c 100644
--- a/src/gpgpu-sim/gpu-cache.cc
+++ b/src/gpgpu-sim/gpu-cache.cc
@@ -48,7 +48,7 @@ const char * cache_request_status_str(enum cache_request_status status)
}
void l2_cache_config::init(linear_to_raw_address_translation *address_mapping){
- cache_config::init(m_config_string);
+ cache_config::init(m_config_string,FuncCachePreferNone);
m_address_mapping = address_mapping;
}