-
Notifications
You must be signed in to change notification settings - Fork 16
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
number_distributed_tags: non-set, non-sorted numbering #469
Conversation
65d0142
to
70cc8a4
Compare
70cc8a4
to
9527630
Compare
|
||
# For the next assertion, find_distributed_partition needs to be | ||
# deterministic too (https://github.com/inducer/pytato/pull/465). | ||
# assert next(iter(distp.parts[0].name_to_send_nodes.values()))[0].comm_tag == 4242 # noqa: E501 |
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.
When combining this PR with #465, this assertion passes.
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.
File an issue to remind us to reenable it?
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.
Done in #482
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.
Thanks, LGTM once one comment is added.
|
||
# For the next assertion, find_distributed_partition needs to be | ||
# deterministic too (https://github.com/inducer/pytato/pull/465). | ||
# assert next(iter(distp.parts[0].name_to_send_nodes.values()))[0].comm_tag == 4242 # noqa: E501 |
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.
File an issue to remind us to reenable it?
Thx! |
* number_distributed_tags: non-set, non-sorted numbering * make the test a bit more difficult * improve test * add comments based on review
Alternative to #462/#467
cc @MTCam
Please squash