Skip to content

external data pack: switch to using size_t #13158

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

Merged
merged 1 commit into from
Mar 19, 2025

Conversation

hppritcha
Copy link
Member

for count args.

This helps with the big count effort.

Related to #12226
Related to #13152

Copy link
Member

@bosilca bosilca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why changing the MPI_Aint to size_t ? The MPI_Aint is coming from the MPI API and is used to also return the size of the packed buffer.

What this PR does is correct internally but incorrect with the interactions of the external entities using thie mechanism (the MPI API and libnbc)

for count args.

This helps with the big count effort.

Related to open-mpi#12226

Related to open-mpi#13152

Signed-off-by: Howard Pritchard <[email protected]>
@hppritcha
Copy link
Member Author

okay i removed the MPI_Aint to size_t. the other change is correct as c handles the integer promotion. ironically libnbc was using size_t already for the count args to these functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants