主页
libcudf
cucim
cudf-java
cudf
cugraph
cuml
cuproj
cuspatial
cuvs
cuxfilter
dask-cuda
dask-cudf
kvikio
libcudf
libcuml
libcuproj
libcuspatial
libkvikio
librmm
libucxx
raft
rapids-cmake
rapidsmpf
rmm
stable (25.04)
nightly (25.06)
stable (25.04)
legacy (25.02)
include
cudf
lists
count_elements.hpp
前往此文件的文档
1
/*
2
* 版权所有 (c) 2021-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
* 许可证下的限制。
15
*/
16
#pragma once
17
18
#include <
cudf/column/column.hpp
>
19
#include <
cudf/lists/lists_column_view.hpp
>
20
#include <cudf/utilities/export.hpp>
21
#include <
cudf/utilities/memory_resource.hpp
>
22
23
namespace
CUDF_EXPORT
cudf
{
24
namespace
lists {
52
std::unique_ptr<column>
count_elements
(
53
lists_column_view
const
& input,
54
rmm::cuda_stream_view
stream =
cudf::get_default_stream
(),
55
rmm::device_async_resource_ref
mr =
cudf::get_current_device_resource_ref
());
56
// end of lists_elements group
58
59
}
// namespace lists
60
}
// namespace CUDF_EXPORT cudf
cudf::lists_column_view
给定列表类型的列视图,此类的实例为此复合列提供了包装...
定义:
lists_column_view.hpp:40
rmm::cuda_stream_view
column.hpp
cudf::column 的类定义。
cudf::get_default_stream
rmm::cuda_stream_view const get_default_stream()
获取当前默认流。
cudf::lists::count_elements
std::unique_ptr< column > count_elements(lists_column_view const &input, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref())
返回一个数字列,其中包含给定列表列中每个列表元素的行数...
cudf::get_current_device_resource_ref
rmm::device_async_resource_ref get_current_device_resource_ref()
获取当前设备内存资源的引用。
定义:
memory_resource.hpp:47
device_async_resource_ref
cuda::mr::async_resource_ref< cuda::mr::device_accessible > device_async_resource_ref
lists_column_view.hpp
cudf::lists_column_view 的类定义。
memory_resource.hpp
cudf
cuDF 接口
定义:
host_udf.hpp:37
由 doxygen 1.9.1 生成