Files | Functions
Memory Resource Management

Files

file  memory_resource.hpp
 

Functions

rmm::mr::device_memory_resourcecudf::get_current_device_resource ()
 Get the current device memory resource. More...
 
rmm::device_async_resource_ref cudf::get_current_device_resource_ref ()
 Get the current device memory resource reference. More...
 
rmm::mr::device_memory_resourcecudf::set_current_device_resource (rmm::mr::device_memory_resource *mr)
 Set the current device memory resource. More...
 
rmm::device_async_resource_ref cudf::set_current_device_resource_ref (rmm::device_async_resource_ref mr)
 Set the current device memory resource reference. More...
 
rmm::device_async_resource_ref cudf::reset_current_device_resource_ref ()
 Reset the current device memory resource reference to the initial resource. More...
 

Detailed Description

Function Documentation

◆ get_current_device_resource()

rmm::mr::device_memory_resource* cudf::get_current_device_resource ( )
inline

Get the current device memory resource.

Returns
The current device memory resource.

Definition at line 37 of file memory_resource.hpp.

◆ get_current_device_resource_ref()

rmm::device_async_resource_ref cudf::get_current_device_resource_ref ( )
inline

Get the current device memory resource reference.

Returns
The current device memory resource reference.

Definition at line 47 of file memory_resource.hpp.

◆ reset_current_device_resource_ref()

rmm::device_async_resource_ref cudf::reset_current_device_resource_ref ( )
inline

Reset the current device memory resource reference to the initial resource.

Returns
The previous device memory resource reference.

Definition at line 82 of file memory_resource.hpp.

◆ set_current_device_resource()

rmm::mr::device_memory_resource* cudf::set_current_device_resource ( rmm::mr::device_memory_resource mr)
inline

Set the current device memory resource.

Parameters
mrThe new device memory resource.
Returns
The previous device memory resource.

Definition at line 59 of file memory_resource.hpp.

◆ set_current_device_resource_ref()

rmm::device_async_resource_ref cudf::set_current_device_resource_ref ( rmm::device_async_resource_ref  mr)
inline

Set the current device memory resource reference.

Parameters
mrThe new device memory resource reference.
Returns
The previous device memory resource reference.

Definition at line 71 of file memory_resource.hpp.