-
Notifications
You must be signed in to change notification settings - Fork 62
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
Conversation
Handle both ranges and individual values
7411030
to
ffedd10
Compare
ffedd10
to
f715090
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.
Looks great!
91f38ef
to
0c2780d
Compare
"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), | ||
} |
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.
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
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.
Created PR #851 because I really like the non-duplicating version.
…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
Handle both ranges and individual values