Skip to content

[FEA] Add column constructor from device_uvector&&. #11115

Closed

Description

@bdice

See: #11019 (comment)

We should add a column constructor to be constructible from a device_uvector&& so for outputs like this we can just more conveniently construct a device_uvector<size_type> and then construct the column when returning the output:

rmm::device_uvector<size_type> out_positions{...};
// ...
return make_unique<column>{std::move(out_positions)};

This is the "owning / move semantics" flavor of #10302 / #9621 / #9656. Like those issues/PRs, this is especially helpful when dealing with columns of indices.

Activity

  1. added
    feature request
    libcudf
    on Jun 15, 2022
  2. changed the title [-][FEA] Add column constructor from device_uvector&&.[/-] [+][FEA] Add `column` constructor from `device_uvector&&`.[/+] on Jun 15, 2022
  3. github-actions commented on Jul 15, 2022

    @github-actions

    This issue has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be labeled inactive-90d if there is no activity in the next 60 days.

  4. added a commit that references this issue on Aug 3, 2022
    d86bb39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature requestlibcudf

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions