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

Use grid_stride for stride computations. #13996

Merged
merged 6 commits into from
Sep 1, 2023

Conversation

bdice
Copy link
Contributor

@bdice bdice commented Aug 29, 2023

Description

This PR adds grid_1d::grid_stride() and uses it in a handful of kernels. Follow-up to #13910, which added a grid_1d::global_thread_id(). We'll need to do a later PR that catches any missing instances where this should be used, since there are a large number of PRs in flight touching thread indexing code in various files. See #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.

@bdice bdice requested a review from a team as a code owner August 29, 2023 18:43
@github-actions github-actions bot added the libcudf Affects libcudf (C++/CUDA) code. label Aug 29, 2023
Copy link
Member

@PointKernel PointKernel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks!

@bdice bdice added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Aug 31, 2023
@bdice bdice self-assigned this Aug 31, 2023
@bdice
Copy link
Contributor Author

bdice commented Aug 31, 2023

/merge

cpp/src/rolling/jit/kernel.cu Outdated Show resolved Hide resolved
cpp/src/rolling/jit/kernel.cu Outdated Show resolved Hide resolved
@rapids-bot rapids-bot bot merged commit 27e433a into rapidsai:branch-23.10 Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants