libcudf
23.12.00
|
Files | |
file | concatenate.hpp |
Concatenate columns APIs. | |
Functions | |
rmm::device_buffer | cudf::concatenate_masks (host_span< column_view const > views, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource()) |
Concatenates views[i] 's bitmask from the bits [views[i].offset(), views[i].offset() + views[i].size()) for all elements views into an rmm::device_buffer More... | |
std::unique_ptr< column > | cudf::concatenate (host_span< column_view const > columns_to_concat, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource()) |
Concatenates multiple columns into a single column. More... | |
std::unique_ptr< table > | cudf::concatenate (host_span< table_view const > tables_to_concat, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource()) |
Columns of tables_to_concat are concatenated vertically to return a single table. More... | |
std::unique_ptr<column> cudf::concatenate | ( | host_span< column_view const > | columns_to_concat, |
rmm::cuda_stream_view | stream = cudf::get_default_stream() , |
||
rmm::mr::device_memory_resource * | mr = rmm::mr::get_current_device_resource() |
||
) |
Concatenates multiple columns into a single column.
cudf::logic_error | If types of the input columns mismatch |
std::overflow_error | If the total number of output rows exceeds cudf::size_type |
columns_to_concat | Column views to be concatenated into a single column |
stream | CUDA stream used for device memory operations and kernel launches |
mr | Device memory resource used to allocate the returned column's device memory |
columns_to_concat
respectively in the same order. std::unique_ptr<table> cudf::concatenate | ( | host_span< table_view const > | tables_to_concat, |
rmm::cuda_stream_view | stream = cudf::get_default_stream() , |
||
rmm::mr::device_memory_resource * | mr = rmm::mr::get_current_device_resource() |
||
) |
Columns of tables_to_concat
are concatenated vertically to return a single table.
cudf::logic_error | If number of columns mismatch |
std::overflow_error | If the total number of output rows exceeds cudf::size_type |
tables_to_concat | Table views to be concatenated into a single table |
stream | CUDA stream used for device memory operations and kernel launches |
mr | Device memory resource used to allocate the returned table's device memory |
tables_to_concat
respectively in the same order. rmm::device_buffer cudf::concatenate_masks | ( | host_span< column_view const > | views, |
rmm::cuda_stream_view | stream = cudf::get_default_stream() , |
||
rmm::mr::device_memory_resource * | mr = rmm::mr::get_current_device_resource() |
||
) |
Concatenates views[i]
's bitmask from the bits [views[i].offset(), views[i].offset() + views[i].size())
for all elements views
into an rmm::device_buffer
Returns an empty buffer if the column is not nullable.
views | Column views whose bitmasks will be concatenated |
mr | Device memory resource used for allocating the returned memory |
stream | CUDA stream used for device memory operations and kernel launches |