diff options
| author | Mahmoud <[email protected]> | 2020-07-30 23:43:07 -0400 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2020-07-30 23:43:07 -0400 |
| commit | a5d525b57e558c391b353454082f62ea2941478e (patch) | |
| tree | d1e2702742d83b5b7d60aa2146ef530399dafdb7 | |
| parent | 79500d59f8103d1d590440e10cf195473a90565e (diff) | |
adding support for the trace split
| -rw-r--r-- | src/gpgpu-sim/shader.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpgpu-sim/shader.h b/src/gpgpu-sim/shader.h index 07cd2d0..04cf747 100644 --- a/src/gpgpu-sim/shader.h +++ b/src/gpgpu-sim/shader.h @@ -238,6 +238,7 @@ class shd_warp_t { unsigned get_dynamic_warp_id() const { return m_dynamic_warp_id; } unsigned get_warp_id() const { return m_warp_id; } + class shader_core_ctx * get_shader() { return m_shader; } private: static const unsigned IBUFFER_SIZE = 2; class shader_core_ctx *m_shader; @@ -2129,7 +2130,7 @@ class shader_core_ctx : public core_t { friend class scheduler_unit; // this is needed to use private issue warp. friend class TwoLevelScheduler; friend class LooseRoundRobbinScheduler; - void issue_warp(register_set &warp, const warp_inst_t *pI, + virtual void issue_warp(register_set &warp, const warp_inst_t *pI, const active_mask_t &active_mask, unsigned warp_id, unsigned sch_id); |
