summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authorMahmoud <[email protected]>2019-08-30 18:44:02 -0400
committerMahmoud <[email protected]>2019-08-30 18:44:02 -0400
commit7d1a848b4807aa1f8ed2bb0478f0a53bf09dcee7 (patch)
treeb9413a262e9281c0adc8d5693966e5447b461c06 /src/abstract_hardware_model.h
parenta168a2c7224ea59c9ea7523be1f46893531bdc63 (diff)
parent93597743b24b7d7726096d337e6c9c4516cb2273 (diff)
Merge branch 'dev-nvidia' into dev-private
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index 8c19e33..60f7f68 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -67,6 +67,11 @@ enum FuncCache
FuncCachePreferL1 = 2
};
+enum AdaptiveCache
+{
+ FIXED = 0,
+ VOLTA = 1
+};
#ifdef __cplusplus
@@ -344,7 +349,7 @@ public:
unsigned long long end_cycle;
unsigned m_launch_latency;
- mutable bool volta_cache_config_set;
+ mutable bool cache_config_set;
};
class core_config {
@@ -391,7 +396,7 @@ class core_config {
unsigned gpgpu_max_insn_issue_per_warp;
bool gmem_skip_L1D; // on = global memory access always skip the L1 cache
- bool adaptive_volta_cache_config;
+ unsigned adaptive_cache_config;
};
// bounded stack that implements simt reconvergence using pdom mechanism from MICRO'07 paper