utilities.hpp
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION.
3  * SPDX-License-Identifier: Apache-2.0
4  */
5 #pragma once
6 
8 #include <cudf/utilities/export.hpp>
10 
11 namespace CUDF_EXPORT cudf {
12 namespace strings {
13 
23  cudf::strings_column_view const strings,
26 
38 
47 
48 } // namespace strings
49 } // namespace CUDF_EXPORT cudf
Given a column-view of strings type, an instance of this class provides a wrapper on this compound co...
rmm::cuda_stream_view const get_default_stream()
Get the current default stream.
rmm::device_async_resource_ref get_current_device_resource_ref()
Get the current device memory resource reference.
detail::cccl_async_resource_ref< cuda::mr::resource_ref< cuda::mr::device_accessible > > device_async_resource_ref
int64_t get_offset64_threshold()
Return the threshold size for a strings column to use int64 offsets.
bool is_large_strings_enabled()
Checks if large strings is enabled.
rmm::device_uvector< string_view > create_string_vector_from_column(cudf::strings_column_view const strings, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref())
Creates a string_view vector from a strings column.
cuDF interfaces
Definition: host_udf.hpp:26
Class definition for cudf::strings_column_view.