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 
27 {
28  // For now, match current behavior which is to return current resource pointer
30 }
31 
40 {
42 }
43 
52 {
54 }
55 
62 {
64 }
65  // end of group
67 } // namespace cudf
rmm::mr::device_memory_resource * set_current_device_resource(rmm::mr::device_memory_resource *mr)
Set 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.
device_async_resource_ref set_current_device_resource_ref(device_async_resource_ref new_resource_ref)
device_async_resource_ref reset_current_device_resource_ref()
device_memory_resource * set_current_device_resource(device_memory_resource *new_mr)
device_memory_resource * get_current_device_resource()
detail::cccl_async_resource_ref< cuda::mr::resource_ref< cuda::mr::device_accessible > > device_async_resource_ref
cuDF interfaces
Definition: host_udf.hpp:26