diff options
| author | Tor Aamodt <[email protected]> | 2020-10-18 13:14:24 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-10-18 13:14:24 -0700 |
| commit | 90ec3399763d7c8512cfe7dc193473086c38ca38 (patch) | |
| tree | afa8d18d3f69883f2d15f23965300984e6075d28 /src/gpgpu-sim/shader.h | |
| parent | 8b7946c6709d44870e5c4cd85df8378ffe0c57b3 (diff) | |
| parent | b1606d7830bbc27240929f357cd9879256969156 (diff) | |
Merge pull request #202 from accel-sim/dev
slight change to support trace-driven split
Diffstat (limited to 'src/gpgpu-sim/shader.h')
| -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 d001774..6481790 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; @@ -2131,7 +2132,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); |
