lists/filling.hpp
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2021-2024, NVIDIA CORPORATION.
3  * SPDX-License-Identifier: Apache-2.0
4  */
5 
6 #pragma once
7 
8 #include <cudf/types.hpp>
11 
12 #include <rmm/cuda_stream_view.hpp>
13 
14 #include <memory>
15 
16 namespace CUDF_EXPORT cudf {
17 namespace lists {
56 std::unique_ptr<column> sequences(
57  column_view const& starts,
58  column_view const& sizes,
61 
97 std::unique_ptr<column> sequences(
98  column_view const& starts,
99  column_view const& steps,
100  column_view const& sizes,
103  // end of group
105 } // namespace lists
106 } // namespace CUDF_EXPORT cudf
A non-owning, immutable view of device data as a column of elements, some of which may be null as ind...
rmm::cuda_stream_view const get_default_stream()
Get the current default stream.
std::unique_ptr< column > sequences(column_view const &starts, column_view const &steps, column_view const &sizes, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref())
Create a lists column in which each row contains a sequence of values specified by a tuple of (start,...
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
cuDF interfaces
Definition: host_udf.hpp:26
Type declarations for libcudf.