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

Add SendDataToElement action for nodegroup elements #6041

Merged
merged 2 commits into from
Jun 1, 2024

Conversation

nilsdeppe
Copy link
Member

Proposed changes

Upgrade instructions

Code review checklist

  • The code is documented and the documentation renders correctly. Run
    make doc to generate the documentation locally into BUILD_DIR/docs/html.
    Then open index.html.
  • The code follows the stylistic and code quality guidelines listed in the
    code review guide.
  • The PR lists upgrade instructions and is labeled bugfix or
    new feature if appropriate.

Further comments

@nilsdeppe nilsdeppe requested a review from kidder May 29, 2024 18:08
Copy link
Member

@kidder kidder left a comment

Choose a reason for hiding this comment

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

you can squash any changes

// and the nodegroup by using `db::get_mutable_reference`. If/when we
// start dynamically inserting and removing elements, we'll need to update
// how we handle this. For example, we might need the containers to have
// strongly stability guarantees.
Copy link
Member

Choose a reason for hiding this comment

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

strong?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep! Done!

// exact minimum number of sends we need to do, but gets us close in most
// cases. If we really wanted to we could also add the number of
// directions that don't have external boundaries in our neighbors block.
// if (count >=
Copy link
Member

Choose a reason for hiding this comment

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

did you mean to leave this if commented out?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, because this is the bookkeeping code I talked with Will about to minimize communication. I want to get the rest in before I get the counting sorted out completely :)

@nilsdeppe
Copy link
Member Author

Rebased and squashed. Thanks for the review!

@nilsdeppe nilsdeppe merged commit 23e5601 into sxs-collaboration:develop Jun 1, 2024
22 checks passed
@nilsdeppe nilsdeppe deleted the add_threading_16 branch June 1, 2024 13:41
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.

2 participants