-
Notifications
You must be signed in to change notification settings - Fork 88
Fix unary reductions #369
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
Merged
magnatelee
merged 16 commits into
nv-legate:branch-22.05
from
magnatelee:fix-unary-reduction
May 21, 2022
Merged
Fix unary reductions #369
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
c5fb952
Use the right LHS type in unary reductions
magnatelee 16eb415
Fix scalar reductions with any and all
magnatelee 3d2c2d5
Remove unnecessary template specializations
magnatelee e456cd5
Remove specializations for count_nonzero and use the template instead
magnatelee a147e12
More tests for unary reductions
magnatelee 3f2769d
Remove unused ArgRedImplBody
magnatelee 08fd23f
Clean up the valid fields that were missed in the previous pass
magnatelee ee51326
Clean up spaghetti in unary reduction and correctly handle outputs of…
magnatelee dafa481
Add more tests for any and all
magnatelee 0983a85
Add some missing add_boilerplates calls
magnatelee 868b68b
Give more accurate names to some of the template parameters
magnatelee dbb2222
Handle 'dtype' correctly in sum and prod
magnatelee 8341ded
Fix the plumbing code on the Python side for argmin and argmax
magnatelee 4a65868
Implement scalar reduction for argmin and argmax
magnatelee d5a945a
Minor fix for scalar reductions on scalar stores
magnatelee c5d7f85
Make sure we use the dtype of out when it exists
magnatelee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.