summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authorMahmoud <[email protected]>2020-05-31 22:42:30 -0400
committerMahmoud <[email protected]>2020-05-31 22:42:30 -0400
commitb53dcfc7b079a06f26b25cedcc09c4843ef1a6b9 (patch)
treef7bf358bec201f897d5130b5276220d68fadd36e /src/abstract_hardware_model.h
parentfec6ce76ca145fa493f902f491a968305fb1c254 (diff)
adding the virtual method back to gpgpu-sim class
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index b22b5c4..45e7843 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -633,6 +633,8 @@ class gpgpu_t {
return m_NameToTextureInfo;
}
+ virtual ~gpgpu_t() {}
+
protected:
const gpgpu_functional_sim_config &m_function_model_config;
FILE *ptx_inst_debug_file;