memory_resource.hpp
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2024-2025, NVIDIA CORPORATION.
3  * SPDX-License-Identifier: Apache-2.0
4  */
5 
6 #pragma once
7 
8 #include <rmm/cuda_device.hpp>
11 #include <rmm/resource_ref.hpp>
12 
13 namespace cudf {
14 
29 [[deprecated("Use get_current_device_resource_ref() instead. Will be removed in 26.02.")]]
31 {
33 }
34 
41 {
42  // For now, match current behavior which is to return current resource pointer
44 }
45 
54 {
56 }
57 
66 {
68 }
69 
76 {
78 }
79  // end of group
81 } // namespace cudf
rmm::mr::device_memory_resource * set_current_device_resource(rmm::mr::device_memory_resource *mr)
Set the current device memory resource.
rmm::mr::device_memory_resource * get_current_device_resource()
Get the current device memory resource.
rmm::device_async_resource_ref reset_current_device_resource_ref()
Reset the current device memory resource reference to the initial resource.
rmm::device_async_resource_ref set_current_device_resource_ref(rmm::device_async_resource_ref mr)
Set the current device memory resource reference.
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