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/cuda_stream_view.hpp>
15 #include <rmm/device_uvector.hpp>
16 
17 #include <memory>
18 #include <utility>
19 
20 namespace CUDF_EXPORT cudf {
21 
56 [[nodiscard]] std::pair<std::unique_ptr<rmm::device_uvector<size_type>>,
57  std::unique_ptr<rmm::device_uvector<size_type>>>
58 direct_inner_join(column_view const& left_keys,
59  column_view const& right_keys,
60  std::size_t capacity,
63  // end of group
65 
66 } // 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, rmm::cuda_stream_view 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 ...
rmm::cuda_stream_view 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:26
Type declarations for libcudf.