21 #include <rmm/mr/device/per_device_resource.hpp>
53 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
77 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
99 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
143 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
180 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
A non-owning, immutable view of device data as a column of elements, some of which may be null as ind...
Given a column-view of lists type, an instance of this class provides a wrapper on this compound colu...
An owning class to represent a singular value.
Class definition for cudf::column.
rmm::cuda_stream_view const get_default_stream()
Get the current default stream.
std::unique_ptr< column > contains_nulls(cudf::lists_column_view const &lists, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Create a column of bool values indicating whether each row in the lists column contains at least one ...
duplicate_find_option
Option to choose whether index_of() returns the first or last match of a search key in a list row.
std::unique_ptr< column > contains(cudf::lists_column_view const &lists, cudf::scalar const &search_key, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Create a column of bool values indicating whether the specified scalar is an element of each row of a...
std::unique_ptr< column > index_of(cudf::lists_column_view const &lists, cudf::scalar const &search_key, duplicate_find_option find_option=duplicate_find_option::FIND_FIRST, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Create a column of values indicating the position of a search key within each list row in the lists c...
@ FIND_FIRST
Finds first instance of a search key in a list row.
@ FIND_LAST
Finds last instance of a search key in a list row.
Class definition for cudf::lists_column_view.