-
Notifications
You must be signed in to change notification settings - Fork 8
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
Implement teams support #126
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realize this is still draft, but I went ahead and added one high-level comment/request
c5021bf
to
b074f86
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coming along nicely!
Added a few more suggestions
dae0768
to
e78b62a
Compare
I think this is the design/implementation we want now, but I'm not understanding something that is wrong with the linked list of coarrays on images other than 1 in a team. It's not treating pointers that have been set to null as being null, but only on images other than 1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New test looks good, and we seem to be getting closer!
I didn't notice a defect likely to explain exactly the runtime crash you report. However I did notice and comment on a few important runtime checks that are currently missing and might potentially explain other runtime crashes.
Also added a few other misc minor requests.
I found and fixed the bug! Only image 1 was calculating where the new heap started :face_palm:. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for all the work on this!
We maintain that child teams can use the "remaining" memory from the current team's heap, which requires some addtional overhead during allocation and deallocation of coarrays.
Co-authored-by: Dan Bonachea <dobonachea@lbl.gov>
Co-authored-by: Dan Bonachea <dobonachea@lbl.gov>
Co-authored-by: Dan Bonachea <dobonachea@lbl.gov>
Co-authored-by: Dan Bonachea <dobonachea@lbl.gov>
Co-authored-by: Dan Bonachea <dobonachea@lbl.gov>
5aef8bf
to
8a21765
Compare
This implements our basic strategy for supporting teams.