Skip to content

Conversation

@ipdemes
Copy link
Contributor

@ipdemes ipdemes commented Sep 2, 2022

This PR fixes nv-legate/legate#329 and #515

@ipdemes ipdemes requested a review from manopapad September 2, 2022 17:45
@ipdemes ipdemes added the category:bug-fix PR is a bug fix and will be classified as such in release notes label Sep 2, 2022
store_copy.copy(store_to_copy, deep=True)
return cast(DeferredArray, store_copy)

def _slice_store(
Copy link
Contributor

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?

@ipdemes ipdemes requested a review from manopapad September 7, 2022 19:29
end = 0
step = 1
k = slice(start, end, step)
# if (
Copy link
Contributor

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

Copy link
Contributor

@manopapad manopapad left a 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

@ipdemes
Copy link
Contributor Author

ipdemes commented Sep 8, 2022

@manopapad : sorry I missed your comment about the static method. I have fixed everything and planning to merge after CI passes

@ipdemes ipdemes merged commit 3ea1a68 into nv-legate:branch-22.10 Sep 8, 2022
@ipdemes ipdemes deleted the slice_fix branch September 9, 2022 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:bug-fix PR is a bug fix and will be classified as such in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

In-bounds but empty slices not supported

2 participants