wrap.hpp
前往此文件的文档。
1 /*
2  * 版权所有 (c) 2020-2024, NVIDIA CORPORATION.
3  *
4  * 根据 Apache 许可证 2.0 版(“许可证”)获得许可;
5  * 除非遵守许可证,否则不得使用此文件。
6  * 您可以在
7  *
8  * https://apache.ac.cn/licenses/LICENSE-2.0
9  *
10  * 获取许可证副本。除非适用法律要求或书面同意,
11  * 根据许可证分发的软件按“原样”分发,
12  * 不附带任何明示或暗示的保证或条件。
13  * 请参阅许可证,了解特定语言的权限和限制。
14  * limitations under the License.
15  */
16 #pragma once
17 
18 #include <cudf/column/column.hpp>
21 
22 namespace CUDF_EXPORT cudf {
23 namespace strings {
65 std::unique_ptr<column> wrap(
66  strings_column_view const& input,
67  size_type width,
70  // end of doxygen group
72 } // namespace strings
73 } // namespace CUDF_EXPORT cudf
给定一个字符串类型的列视图,此类的实例提供对这个复合结构的包装...
cudf::column 的类定义。
rmm::cuda_stream_view const get_default_stream()
获取当前默认流。
rmm::device_async_resource_ref get_current_device_resource_ref()
获取当前设备内存资源引用。
cuda::mr::async_resource_ref< cuda::mr::device_accessible > device_async_resource_ref
std::unique_ptr< column > wrap(strings_column_view const &input, size_type width, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref())
通过将适当的空白字符替换为换行符,将字符串包装成多行,每行宽度小于指定宽度...
int32_t size_type
用于列和表的行索引类型。
定义: types.hpp:95
cuDF 接口
定义: host_udf.hpp:37
cudf::strings_column_view 的类定义。