Skip to content

[cudf] Introduce lists_column_initializer to list column view - #23688

Draft
nirandaperera wants to merge 13 commits into
NVIDIA:mainfrom
nirandaperera:lists-column-initializer-memory-resources
Draft

[cudf] Introduce lists_column_initializer to list column view #23688
nirandaperera wants to merge 13 commits into
NVIDIA:mainfrom
nirandaperera:lists-column-initializer-memory-resources

Conversation

@nirandaperera

@nirandaperera nirandaperera commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Description

Depends on #23665

A part of #20780.

  • Add recursive lists_column_initializer support for explicit stream and memory-resource propagation at every nesting level. This was important to resolve the ambiguities between initializer_lists and new stream, mr params in the ctrs.
  • Add a harness helper that rejects accidental current-device-resource allocations.
  • Port list and segmented-gather tests to the new initializer and correct nested/empty-list constructions.

Checklist

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

Signed-off-by: niranda perera <niranda.perera@gmail.com>
Signed-off-by: niranda perera <niranda.perera@gmail.com>
Signed-off-by: niranda perera <niranda.perera@gmail.com>
Signed-off-by: niranda perera <niranda.perera@gmail.com>
Signed-off-by: niranda perera <niranda.perera@gmail.com>
Signed-off-by: niranda perera <niranda.perera@gmail.com>
Signed-off-by: niranda perera <niranda.perera@gmail.com>
Expose scoped fail_on_current_device_resource_use() on BaseFixtureWithHarness,
add recursive list initializers for explicit stream/mr nesting, and port list
gather test construction sites without changing gather production APIs.
Correct over-nested lists_column_initializer constructions and restore
base empty-row brace patterns so list/segmented gather harness tests pass.
@copy-pr-bot

copy-pr-bot Bot commented Aug 17, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@github-actions github-actions Bot added the libcudf Affects libcudf (C++/CUDA) code. label Aug 17, 2026
@nirandaperera
nirandaperera changed the base branch from pull-request/23665 to main August 17, 2026 21:32
@nirandaperera nirandaperera changed the title Lists column initializer memory resources Introduce lists_column_initializer to list column view Aug 17, 2026
@nirandaperera nirandaperera changed the title Introduce lists_column_initializer to list column view [cudf] Introduce lists_column_initializer to list column view Aug 17, 2026
@nirandaperera nirandaperera added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Aug 17, 2026
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.

1 participant