Mutable table device view that is usable in device memory. More...
Static Public Member Functions | |
| static auto | create (mutable_table_view source_view, rmm::cuda_stream_view stream=cudf::get_default_stream()) |
| Factory to construct a mutable table device view that is usable in device memory. More... | |
Additional Inherited Members | |
Public Member Functions inherited from cudf::detail::table_device_view_base< mutable_column_device_view, mutable_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... | |
| mutable_column_device_view * | begin () const noexcept |
Returns an iterator to the first view in the table. More... | |
| mutable_column_device_view * | end () const noexcept |
Returns an iterator one past the last column view in the table. More... | |
| mutable_column_device_view const & | column (size_type column_index) const noexcept |
| Returns a reference to the view of the specified column. More... | |
| mutable_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< mutable_column_device_view, mutable_table_view > | |
| table_device_view_base (mutable_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< mutable_column_device_view, mutable_table_view > | |
| rmm::device_buffer * | _descendant_storage |
| Pointer to device memory holding the descendant storage. | |
Mutable table device view that is usable in device memory.
Elements of the table can be modified in device memory.
Definition at line 188 of file table_device_view.cuh.
|
inlinestatic |
Factory to construct a mutable 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<mutable_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 mutable_table_device_view that makes the data from source_view available in device memory Definition at line 205 of file table_device_view.cuh.