summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index 46534ab..a640ba3 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -65,7 +65,11 @@ enum FuncCache {
FuncCachePreferL1 = 2
};
-enum AdaptiveCache { FIXED = 0, VOLTA = 1 };
+enum AdaptiveCache
+{
+ FIXED = 0,
+ ADAPTIVE_VOLTA = 1
+};
#ifdef __cplusplus
@@ -97,7 +101,8 @@ enum uarch_op_t {
BARRIER_OP,
MEMORY_BARRIER_OP,
CALL_OPS,
- RET_OPS
+ RET_OPS,
+ EXIT_OPS
};
typedef enum uarch_op_t op_type;
@@ -323,9 +328,11 @@ class kernel_info_t {
unsigned long long launch_cycle;
unsigned long long start_cycle;
unsigned long long end_cycle;
- unsigned m_launch_latency;
+ unsigned m_launch_latency;
mutable bool cache_config_set;
+
+ unsigned m_kernel_TB_latency; //this used for any CPU-GPU kernel latency and counted in the gpu_cycle
};
class core_config {