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

Deprecate chpl_comm_array_get and chpl_comm_array_put #24833

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ShreyasKhandekar
Copy link
Contributor

Based on the discussion from https://github.com/Cray/chapel-private/issues/5493. This PR implements part (1) of the proposal there. Follow up PR's will implement the other points in the linked issue.

As part of this PR we have deprecated the chpl_comm_array_get and chpl_comm_array_put primitives and only want to use chpl_comm_get and chpl_comm_put going forward for our own needs.
Users should not be using either of these, but we're deprecating instead of removing these out of an abundance of caution.

  • gasnet paratest

We should drop chpl_comm_array_get and chpl_comm_array_put primitives altogether. They differ from "non-array" versions only by accepting number of elements instead of number of bytes. I don't think it is a big help to its users, and it unnecessarily complicates the compiler code. Note that this "array"/"non-array" difference doesn't exist in the runtime.

Signed-off-by: Shreyas Khandekar <60454060+ShreyasKhandekar@users.noreply.github.com>
Signed-off-by: Shreyas Khandekar <60454060+ShreyasKhandekar@users.noreply.github.com>
Signed-off-by: Shreyas Khandekar <60454060+ShreyasKhandekar@users.noreply.github.com>
Signed-off-by: Shreyas Khandekar <60454060+ShreyasKhandekar@users.noreply.github.com>
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.

None yet

1 participant