From b53dcfc7b079a06f26b25cedcc09c4843ef1a6b9 Mon Sep 17 00:00:00 2001 From: Mahmoud Date: Sun, 31 May 2020 22:42:30 -0400 Subject: adding the virtual method back to gpgpu-sim class --- src/abstract_hardware_model.h | 2 ++ src/gpgpu-sim/gpu-sim.h | 1 + 2 files changed, 3 insertions(+) (limited to 'src') 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; diff --git a/src/gpgpu-sim/gpu-sim.h b/src/gpgpu-sim/gpu-sim.h index f9b3a0d..2e6820d 100644 --- a/src/gpgpu-sim/gpu-sim.h +++ b/src/gpgpu-sim/gpu-sim.h @@ -636,6 +636,7 @@ class gpgpu_sim : public gpgpu_t { // into a string for stat printout void clear_executed_kernel_info(); //< clear the kernel information after // stat printout + virtual void createSIMTCluster() = 0; public: unsigned long long gpu_sim_insn; -- cgit v1.3