diff options
| author | Aaron Barnes <[email protected]> | 2021-05-11 18:15:01 -0400 |
|---|---|---|
| committer | Aaron Barnes <[email protected]> | 2021-05-11 18:15:01 -0400 |
| commit | 08ad0453c255bf3579dcdb390fa9e087173d8fc0 (patch) | |
| tree | 2954b3459b56870c3b3e1b1382208d3caeeaa8ec /src/gpgpu-sim/shader.h | |
| parent | 28d056519c7f1771557f90d5b0b295b7f75c1a2d (diff) | |
| parent | 28c3c94e4e76f5c2a9fffb557587c6be3b541ccf (diff) | |
Merge branch 'sub_core_devel' of github.com:barnes88/gpgpu-sim_distribution into sub_core_devel
Diffstat (limited to 'src/gpgpu-sim/shader.h')
| -rw-r--r-- | src/gpgpu-sim/shader.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gpgpu-sim/shader.h b/src/gpgpu-sim/shader.h index ba37b0c..5c5e9a4 100644 --- a/src/gpgpu-sim/shader.h +++ b/src/gpgpu-sim/shader.h @@ -919,13 +919,10 @@ class opndcoll_rfu_t { // operand collector based register file unit m_next_cu = 0; } - collector_unit_t *find_ready(bool sub_core_model) { + collector_unit_t *find_ready() { for (unsigned n = 0; n < m_num_collectors; n++) { unsigned c = (m_last_cu + n + 1) % m_num_collectors; - unsigned reg_id; - if (sub_core_model) - reg_id = (*m_collector_units)[c].get_reg_id(); - if ((*m_collector_units)[c].ready(sub_core_model, reg_id)) { + if ((*m_collector_units)[c].ready()) { m_last_cu = c; return &((*m_collector_units)[c]); } |
