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 integer overflow in compiled binaryop #17354

Merged
merged 4 commits into from
Nov 19, 2024

Conversation

wence-
Copy link
Contributor

@wence- wence- commented Nov 18, 2024

Description

For large columns, the computed stride might end up overflowing size_type. To fix this, use the grid_1d helper. See also #10368.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

For large columns, the computed stride might end up overflowing
size_type. To fix this, use the grid_1d helper. See also rapidsai#10368.

- Closes rapidsai#17353
@wence- wence- requested a review from a team as a code owner November 18, 2024 16:23
@github-actions github-actions bot added the libcudf Affects libcudf (C++/CUDA) code. label Nov 18, 2024
@wence- wence- added bug Something isn't working non-breaking Non-breaking change labels Nov 18, 2024
Co-authored-by: Nghia Truong <[email protected]>
@galipremsagar
Copy link
Contributor

/merge

@rapids-bot rapids-bot bot merged commit c7bfa77 into rapidsai:branch-24.12 Nov 19, 2024
104 checks passed
@wence- wence- deleted the wence/fix/17353 branch November 19, 2024 17:46
rapids-bot bot pushed a commit that referenced this pull request Nov 26, 2024
Follow on to #17354 to prevent overflow in jit kernel binary-ops.
This uses the `thread_index_type` directly since the `detail/utilities/cuda.cuh` cannot be included in the jit'd kernel source.

Authors:
  - David Wendt (https://github.com/davidwendt)

Approvers:
  - Yunsong Wang (https://github.com/PointKernel)
  - Muhammad Haseeb (https://github.com/mhaseeb123)

URL: #17420
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
Status: Landed
Development

Successfully merging this pull request may close these issues.

[BUG] Integer overflow in compiled binops for large tables.
7 participants