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

Expand ranges when reading thread_siblings_list #849

Merged
merged 4 commits into from
Oct 4, 2023

Conversation

vzhurba01
Copy link

Handle both ranges and individual values

Handle both ranges and individual values
@copy-pr-bot
Copy link
Contributor

copy-pr-bot bot commented Oct 3, 2023

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@vzhurba01 vzhurba01 added the category:improvement PR introduces an improvement and will be classified as such in release notes label Oct 3, 2023
@vzhurba01 vzhurba01 requested a review from bryevdv October 3, 2023 23:22
Copy link
Contributor

@bryevdv bryevdv left a comment

Choose a reason for hiding this comment

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

Looks great!

@vzhurba01 vzhurba01 merged commit b30a464 into nv-legate:branch-23.11 Oct 4, 2023
"1-2,0": (0, 1, 2),
"0,1-2,3,4-5,6": (0, 1, 2, 3, 4, 5, 6),
"5-6,4,1-3,0": (0, 1, 2, 3, 4, 5, 6),
}
Copy link
Contributor

Choose a reason for hiding this comment

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

BTW just FYI it's common to move values + expected values together at the same time through parameters. The danger here is that the keys in the expected dict become out of sync with the val parameter values since they are duplicated. I think this is fine in this small case, but if you are interested there are more examples, etc on the pytest site

Copy link
Author

Choose a reason for hiding this comment

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

Created PR #851 because I really like the non-duplicating version.

manopapad added a commit that referenced this pull request Mar 5, 2025
…sk_sources (#849)

* Debugging output for select_task_sources

* Estimate local CPU<->GPU multi-hop copy bandwidth

* Print backtraces at select_task_sources

* Remove debugging output

* Address review comments

* Review comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:improvement PR introduces an improvement and will be classified as such in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants