Skip to content

Use grid_stride for stride computations. - #13996

Merged
rapids-bot[bot] merged 6 commits into
NVIDIA:branch-23.10from
bdice:grid-stride-utility
Sep 1, 2023
Merged

Use grid_stride for stride computations.#13996
rapids-bot[bot] merged 6 commits into
NVIDIA:branch-23.10from
bdice:grid-stride-utility

Conversation

@bdice

@bdice bdice commented Aug 29, 2023

Copy link
Copy Markdown
Contributor

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

@PointKernel PointKernel left a comment

Copy link
Copy Markdown
Member

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

bdice commented Aug 31, 2023

Copy link
Copy Markdown
Contributor Author

/merge

Comment thread cpp/src/rolling/jit/kernel.cu Outdated
Comment thread cpp/src/rolling/jit/kernel.cu Outdated
@rapids-bot
rapids-bot Bot merged commit 27e433a into NVIDIA: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