Is your feature request related to a problem? Please describe.
I would like to be able to create a copy of a table_view where the storage for the constituent column is "packed" into a single allocation.
Describe the solution you'd like
An API something like this:
std::pair<rmm::device_buffer, table_view> pack(table_view const& t);
Where the returned device_buffer contains a copy of the contents of t in a single allocation and the returned table_view points into that buffer.
Additional context
This functionality is effectively already developed for contiguous_split in the alloc_and_copy function. The ask is just to wrap and expose this as a public API.
Is your feature request related to a problem? Please describe.
I would like to be able to create a copy of a
table_viewwhere the storage for the constituent column is "packed" into a single allocation.Describe the solution you'd like
An API something like this:
Where the returned
device_buffercontains a copy of the contents oftin a single allocation and the returnedtable_viewpoints into that buffer.Additional context
This functionality is effectively already developed for
contiguous_splitin thealloc_and_copyfunction. The ask is just to wrap and expose this as a public API.