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

Changes in DART group/team management #172

Merged
merged 3 commits into from
Nov 29, 2016
Merged

Conversation

devreal
Copy link
Member

@devreal devreal commented Nov 29, 2016

Changed the type of dart_group_t to be a pointer typedef.

The interface handles group allocation now similar to MPI: a group OUT parameter of a function is allocated by the function, the user does not have to provide allocated group objects for them. However, the user is responsible for freeing the group objects after use. The only use case for dart_group_create now is to create an empty group.

I also implemented clone functions for group and team objects. However, I currently see no use case for explicit assign functions as the basic types dart_group_t and dart_team_t can be assigned and invalidated using meaningful defaults by the user.

Please review carefully and suggest any changes you would like to see.

Addresses #167

@devreal devreal added this to the dash-0.3.0 milestone Nov 29, 2016
@fuchsto fuchsto merged commit a2347c9 into development Nov 29, 2016
@fuchsto fuchsto deleted the feat-167-groupalloc branch November 29, 2016 16:55
@fuchsto fuchsto restored the feat-167-groupalloc branch November 29, 2016 17:31
@devreal devreal deleted the feat-167-groupalloc branch December 21, 2016 15:44
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.

3 participants