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 index out of range for IndexPut kernel #595

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Conversation

Stonepia
Copy link
Contributor

We encounter an out-of-range page fault for the index put kernel. This is because the condition check order is not correct.

We should check the array index before accessing the array. The previous ScratchPage option of the driver may hide this issue.

Co-author:
@gaopengff

@Stonepia Stonepia requested a review from fengyuan14 July 16, 2024 06:33
@fengyuan14 fengyuan14 added this pull request to the merge queue Jul 17, 2024
Merged via the queue into main with commit 4b6c788 Jul 17, 2024
2 checks passed
@fengyuan14 fengyuan14 deleted the tongsu/indexing branch July 17, 2024 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants