Repository navigation
Fix stream-ordering bugs related to pool streams - #21908
Merged
Merged
Conversation
mhaseeb123
approved these changes
Mar 24, 2026
Rebind string columns to the caller stream after parallel CSV reads using cudf::rebind_stream. Join the JSON ingest stream pool before batched async memcpy so host writes are ordered relative to the caller stream.
Contributor
Author
|
/ok to test a220eb1 |
bdice
approved these changes
Apr 1, 2026
PointKernel
approved these changes
Apr 1, 2026
Contributor
Author
|
/merge |
shrshi
pushed a commit
to shrshi/cudf
that referenced
this pull request
May 12, 2026
Fixes stream-ordering bugs identified in NVIDIA#14162 (comment). JSON (`ingest_raw_input`): Added a missing `join_streams` call. Fixed a race condition between the `memcpy_batch_async` and `thrust::scatter` on the user stream and `device_read_async` on the pool streams. CSV (`read_csv`): Reassign the deallocation stream on string columns to the user stream so all output columns are deallocated on the user stream. Authors: - Vukasin Milovanovic (https://github.com/vuule) Approvers: - Muhammad Haseeb (https://github.com/mhaseeb123) - Bradley Dice (https://github.com/bdice) - Yunsong Wang (https://github.com/PointKernel) URL: NVIDIA#21908
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes stream-ordering bugs identified in #14162 (comment).
JSON (
ingest_raw_input): Added a missingjoin_streamscall. Fixed a race condition between thememcpy_batch_asyncandthrust::scatteron the user stream anddevice_read_asyncon the pool streams.CSV (
read_csv): Reassign the deallocation stream on string columns to the user stream so all output columns are deallocated on the user stream.Checklist