-
Notifications
You must be signed in to change notification settings - Fork 88
Fixing logic for slicing #574
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
Conversation
cunumeric/deferred.py
Outdated
| store_copy.copy(store_to_copy, deep=True) | ||
| return cast(DeferredArray, store_copy) | ||
|
|
||
| def _slice_store( |
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.
Can you make this into a @staticmethod, since it doesn't really use the self argument?
cunumeric/deferred.py
Outdated
| end = 0 | ||
| step = 1 | ||
| k = slice(start, end, step) | ||
| # if ( |
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.
Remove this commented-out code
manopapad
left a comment
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.
Two remaining minor items, otherwise looks good
|
@manopapad : sorry I missed your comment about the static method. I have fixed everything and planning to merge after CI passes |
This PR fixes nv-legate/legate#329 and #515