Skip to content

Commit

Permalink
i believe check_if_production_halt_required should be the combination…
Browse files Browse the repository at this point in the history
… of the two buffer sizes
  • Loading branch information
ryan-dozier committed Jan 7, 2025
1 parent 8796ea8 commit ba779b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ygm/detail/comm.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ inline void comm::check_completed_sends() {

inline void comm::check_if_production_halt_required() {
while (m_enable_interrupts && !m_in_process_receive_queue &&
m_pending_isend_bytes > config.remote_buffer_size) {
m_pending_isend_bytes > (config.local_buffer_size + config.remote_buffer_size)) {
process_receive_queue();
}
}
Expand Down

0 comments on commit ba779b7

Please sign in to comment.