libcudf  23.12.00
Static Public Member Functions | List of all members
cudf::mutable_table_device_view Class Reference

Mutable table device view that is usable in device memory. More...

Inheritance diagram for cudf::mutable_table_device_view:
cudf::detail::table_device_view_base< mutable_column_device_view, mutable_table_view >

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_baseoperator= (table_device_view_base const &)=default
 Copy assignment operator. More...
 
table_device_view_baseoperator= (table_device_view_base &&)=default
 Move assignment operator. More...
 
mutable_column_device_viewbegin () const noexcept
 Returns an iterator to the first view in the table. More...
 
mutable_column_device_viewend () 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_viewcolumn (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.
 

Detailed Description

Mutable table device view that is usable in device memory.

Elements of the table can be modified in device memory.

Definition at line 197 of file table_device_view.cuh.

Member Function Documentation

◆ create()

static auto cudf::mutable_table_device_view::create ( mutable_table_view  source_view,
rmm::cuda_stream_view  stream = cudf::get_default_stream() 
)
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.

Parameters
source_viewThe table view whose contents will be copied to create a new table
streamCUDA stream used for device memory operations
Returns
A unique_ptr to a mutable_table_device_view that makes the data from source_view available in device memory

Definition at line 214 of file table_device_view.cuh.


The documentation for this class was generated from the following file: