23 #include <rmm/mr/device/per_device_resource.hpp>
69 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
An owning class to represent a string in device memory.
Given a column-view of strings type, an instance of this class provides a wrapper on this compound co...
Class definition for cudf::column.
rmm::cuda_stream_view const get_default_stream()
Get the current default stream.
side_type
Direction identifier for cudf::strings::strip and cudf::strings::pad functions.
std::unique_ptr< column > strip(strings_column_view const &input, side_type side=side_type::BOTH, string_scalar const &to_strip=string_scalar(""), rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Removes the specified characters from the beginning or end (or both) of each string.
@ BOTH
strip/pad characters from the beginning and end of the string
Class definitions for cudf::scalar.
Class definition for cudf::strings_column_view.