22 #include <rmm/mr/device/per_device_resource.hpp>
23 #include <rmm/resource_ref.hpp>
73 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
115 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
161 rmm::device_async_resource_ref 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.
std::unique_ptr< column > replace_slice(strings_column_view const &input, string_scalar const &repl=string_scalar(""), size_type start=0, size_type stop=-1, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
This function replaces each string in the column with the provided repl string within the [start,...
std::unique_ptr< column > replace(strings_column_view const &input, string_scalar const &target, string_scalar const &repl, cudf::size_type maxrepl=-1, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Replaces target string within each string with the specified replacement string.
int32_t size_type
Row index type for columns and tables.
Class definitions for cudf::scalar.
Class definition for cudf::strings_column_view.