Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpi: use pointers for array_of_statuses #5749

Merged
merged 1 commit into from
Jan 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions maint/local_python/binding_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ def get_C_param(param, func, mapping):
else:
# MPI_Init, MPI_Init_thread -> char ***argv
want_star = 3
elif kind == "STATUS" and param['length'] is not None:
# MPI_{Wait,Test}{all,some}
# gcc-11 warns when we pass MPI_STATUSES_IGNORE to MPI_Status statues[]
want_star = 1
elif not want_star:
if is_pointer_type(param):
if kind == "STRING_ARRAY":
Expand Down