summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron M Barnes <[email protected]>2021-05-10 15:08:28 -0400
committerAaron M Barnes <[email protected]>2021-05-10 15:08:28 -0400
commitc905726ae9921e6ba67df77fd4ba5bb87215d69d (patch)
tree215877ea8f4451b87158d07e7498c677507eaa36 /src
parentfa76ab438b0b8c2d2e8abf5f395c7a98a3d5fd9b (diff)
minor fix accessing du
Diffstat (limited to 'src')
-rw-r--r--src/gpgpu-sim/shader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgpu-sim/shader.cc b/src/gpgpu-sim/shader.cc
index ec10733..c3b8d39 100644
--- a/src/gpgpu-sim/shader.cc
+++ b/src/gpgpu-sim/shader.cc
@@ -3961,7 +3961,7 @@ void opndcoll_rfu_t::dispatch_ready_cu() {
m_shader->get_config()->warp_size); // cu->get_active_count());
}
}
- unsigned cusPerSched = du->get_num_collectors() / m_num_warp_scheds;
+ unsigned cusPerSched = du.get_num_collectors() / m_num_warp_scheds;
unsigned reg_id = p / cusPerSched;
cu->dispatch(sub_core_model, reg_id);
}