direct_join.hpp
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  */
5 
6 #pragma once
7 
9 #include <cudf/types.hpp>
11 #include <cudf/utilities/export.hpp>
13 
14 #include <rmm/device_uvector.hpp>
15 
16 #include <cuda/stream>
17 
18 #include <memory>
19 #include <utility>
20 
21 namespace CUDF_EXPORT cudf {
22 
57 [[nodiscard]] std::pair<std::unique_ptr<rmm::device_uvector<size_type>>,
58  std::unique_ptr<rmm::device_uvector<size_type>>>
59 direct_inner_join(column_view const& left_keys,
60  column_view const& right_keys,
61  std::size_t capacity,
62  cuda::stream_ref stream = cudf::get_default_stream(),
64  // end of group
66 
67 } // 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...
column view class definitions
APIs for querying the default CUDA stream and per-thread default stream status.
std::pair< std::unique_ptr< rmm::device_uvector< size_type > >, std::unique_ptr< rmm::device_uvector< size_type > > > direct_inner_join(column_view const &left_keys, column_view const &right_keys, std::size_t capacity, cuda::stream_ref stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref())
Returns the row indices that can be used to construct the result of performing an inner join between ...
cuda::stream_ref 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.
cuda::mr::resource_ref< cuda::mr::device_accessible > device_async_resource_ref
APIs for getting and setting the current device memory resource.
cuDF interfaces
Definition: host_udf.hpp:27
Type declarations for libcudf.