diff options
| author | Mahmoud <[email protected]> | 2020-05-31 22:42:30 -0400 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2020-05-31 22:42:30 -0400 |
| commit | b53dcfc7b079a06f26b25cedcc09c4843ef1a6b9 (patch) | |
| tree | f7bf358bec201f897d5130b5276220d68fadd36e /src | |
| parent | fec6ce76ca145fa493f902f491a968305fb1c254 (diff) | |
adding the virtual method back to gpgpu-sim class
Diffstat (limited to 'src')
| -rw-r--r-- | src/abstract_hardware_model.h | 2 | ||||
| -rw-r--r-- | src/gpgpu-sim/gpu-sim.h | 1 |
2 files changed, 3 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; 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; |
