summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
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/abstract_hardware_model.h
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/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index 5d74651..d1acff6 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -47,6 +47,15 @@ enum _memory_space_t {
instruction_space
};
+
+enum FuncCache
+{
+ FuncCachePreferNone = 0,
+ FuncCachePreferShared = 1,
+ FuncCachePreferL1 = 2
+};
+
+
#ifdef __cplusplus
#include <string.h>