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 host-to-device copy missing sync in strings/duration convert #17149

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

davidwendt
Copy link
Contributor

@davidwendt davidwendt commented Oct 23, 2024

Description

Fixes a missing stream sync when copying a temporary host vector to device. The host vector could be destroyed before the copy is completed. Updates the code to use vector factory function make_device_uvector_sync() instead of cudaMemcpyAsync

Checklist

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

@davidwendt davidwendt added bug Something isn't working 3 - Ready for Review Ready for review by team libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change labels Oct 23, 2024
@davidwendt davidwendt self-assigned this Oct 23, 2024
@davidwendt davidwendt requested a review from a team as a code owner October 23, 2024 17:49
rapids-bot bot pushed a commit that referenced this pull request Oct 24, 2024
Removes unused variable that contains host copy of the group_offsets data.
This host variable appears to have been made obsolete by a combination of #16897 and #16780
Found while working on #17149

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

Approvers:
  - Muhammad Haseeb (https://github.com/mhaseeb123)
  - Nghia Truong (https://github.com/ttnghia)

URL: #17151
@davidwendt
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 03777f6 into rapidsai:branch-24.12 Oct 25, 2024
107 checks passed
@davidwendt davidwendt deleted the fix-h2d-sync branch October 25, 2024 13:06
rapids-bot bot pushed a commit that referenced this pull request Oct 28, 2024
…_binop (#17181)

Changes  `cudf::detail::inplace_bitmask_binop()` to use `make_device_uvector()` instead of `cudaMemcpyAsync()`
Found while working on #17149

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

Approvers:
  - Bradley Dice (https://github.com/bdice)
  - Nghia Truong (https://github.com/ttnghia)

URL: #17181
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team bug Something isn't working libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants