Table device view that is usable in device memory. More...
Static Public Member Functions | |
static auto | create (table_view source_view, rmm::cuda_stream_view stream=cudf::get_default_stream()) |
Factory to construct a table device view that is usable in device memory. More... | |
Additional Inherited Members | |
Public Member Functions inherited from cudf::detail::table_device_view_base< column_device_view, table_view > | |
table_device_view_base (table_device_view_base const &)=default | |
Copy constructor. | |
table_device_view_base (table_device_view_base &&)=default | |
Move constructor. | |
table_device_view_base & | operator= (table_device_view_base const &)=default |
Copy assignment operator. More... | |
table_device_view_base & | operator= (table_device_view_base &&)=default |
Move assignment operator. More... | |
column_device_view * | begin () const noexcept |
Returns an iterator to the first view in the table . More... | |
column_device_view * | end () const noexcept |
Returns an iterator one past the last column view in the table . More... | |
column_device_view const & | column (size_type column_index) const noexcept |
Returns a reference to the view of the specified column. More... | |
column_device_view & | column (size_type column_index) noexcept |
Returns a reference to the view of the specified column. More... | |
size_type | num_columns () const noexcept |
Returns the number of columns. More... | |
size_type | num_rows () const noexcept |
Returns the number of rows. More... | |
void | destroy () |
Destroy the table_device_view object. More... | |
Protected Member Functions inherited from cudf::detail::table_device_view_base< column_device_view, table_view > | |
table_device_view_base (table_view source_view, rmm::cuda_stream_view stream) | |
Construct a new table device view base object from host table_view. More... | |
Protected Attributes inherited from cudf::detail::table_device_view_base< column_device_view, table_view > | |
rmm::device_buffer * | _descendant_storage |
Pointer to device memory holding the descendant storage. | |
Table device view that is usable in device memory.
Definition at line 161 of file table_device_view.cuh.
|
inlinestatic |
Factory to construct a table device view that is usable in device memory.
Allocates and copies views of source_view
's children to device memory to make them accessible in device code.
Returns a std::unique_ptr<table_device_view>
with a custom deleter to free the device memory allocated for the children.
source_view | The table view whose contents will be copied to create a new table |
stream | CUDA stream used for device memory operations |
unique_ptr
to a table_device_view
that makes the data from source_view
available in device memory Definition at line 177 of file table_device_view.cuh.