Skip to content

fix: pass missing st argument to CIRCLE_send_no_work - #46

Open
EvgeniiIvanov wants to merge 1 commit into
hpc:masterfrom
EvgeniiIvanov:fix/send-no-work-missing-arg
Open

fix: pass missing st argument to CIRCLE_send_no_work#46
EvgeniiIvanov wants to merge 1 commit into
hpc:masterfrom
EvgeniiIvanov:fix/send-no-work-missing-arg

Conversation

@EvgeniiIvanov

Copy link
Copy Markdown

CIRCLE_send_work() called CIRCLE_send_no_work(dest) when a single work item exceeded the MPI_Send size limit, but the function's signature is CIRCLE_send_no_work(CIRCLE_state_st* st, int dest). Fix the call site to pass both st and dest, matching the other call sites of this function in the file.

Also silence a -Wunused-parameter warning in
CIRCLE_workreceipt_check() by explicitly marking the unused qp parameter, which is kept for API symmetry with the sibling function CIRCLE_workreq_check().

CIRCLE_send_work() called CIRCLE_send_no_work(dest) when a single
work item exceeded the MPI_Send size limit, but the function's
signature is CIRCLE_send_no_work(CIRCLE_state_st* st, int dest).
Fix the call site to pass both st and dest, matching the other
call sites of this function in the file.

Also silence a -Wunused-parameter warning in
CIRCLE_workreceipt_check() by explicitly marking the unused qp
parameter, which is kept for API symmetry with the sibling function
CIRCLE_workreq_check().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant