lists/filling.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2021-2023, NVIDIA CORPORATION.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #pragma once
18 
19 #include <cudf/types.hpp>
20 
22 
23 #include <memory>
24 
25 namespace cudf::lists {
63 std::unique_ptr<column> sequences(
64  column_view const& starts,
65  column_view const& sizes,
66  rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
67 
102 std::unique_ptr<column> sequences(
103  column_view const& starts,
104  column_view const& steps,
105  column_view const& sizes,
106  rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
107  // end of group
109 } // namespace cudf::lists
per_device_resource.hpp
cudf::column_view
A non-owning, immutable view of device data as a column of elements, some of which may be null as ind...
Definition: column_view.hpp:313
types.hpp
Type declarations for libcudf.
rmm::mr::device_memory_resource
cudf::lists::sequences
std::unique_ptr< column > sequences(column_view const &starts, column_view const &sizes, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Create a lists column in which each row contains a sequence of values specified by a tuple of (start,...
cudf::lists
Lists column APIs.
Definition: lists/combine.hpp:26