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

Fix overflow indexing ndarray generated with as_strided #8150

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

asi1024
Copy link
Member

@asi1024 asi1024 commented Feb 1, 2024

Close #8130.
Fix the condition for generating a kernel using 32-bit indexing.

@kmaehashi kmaehashi self-assigned this Feb 1, 2024
@kmaehashi kmaehashi added cat:bug Bugs to-be-backported Pull-requests to be backported to stable branch prio:high labels Feb 1, 2024
@kmaehashi
Copy link
Member

/test mini

@asi1024 asi1024 added this to the v14.0.0a1 milestone May 27, 2024
@kmaehashi kmaehashi merged commit 80a0719 into cupy:main Jun 5, 2024
60 checks passed
chainer-ci pushed a commit to chainer-ci/cupy that referenced this pull request Jun 5, 2024
Fix overflow indexing ndarray generated with as_strided
@asi1024 asi1024 deleted the indexing-overflow branch June 7, 2024 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:bug Bugs prio:high to-be-backported Pull-requests to be backported to stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stride_tricks.as_strided and advanced indexing don't play well with each other.
2 participants