Classes | Namespaces | Functions
system_memory_resource.hpp File Reference
#include <rmm/aligned.hpp>
#include <rmm/cuda_device.hpp>
#include <rmm/detail/aligned.hpp>
#include <rmm/detail/error.hpp>
#include <rmm/detail/export.hpp>
#include <rmm/detail/format.hpp>
#include <cuda/memory_resource>
#include <cuda/stream_ref>
#include <cuda_runtime_api.h>
#include <cstddef>
#include <string>
Include dependency graph for system_memory_resource.hpp:

Go to the source code of this file.

Classes

class  rmm::mr::system_memory_resource
 Memory resource that uses malloc/free for allocation/deallocation. More...
 

Namespaces

 rmm
 RAPIDS Memory Manager - The top-level namespace for all RMM functionality.
 
 rmm::mr
 Memory Resource classes and adaptors.
 

Functions

static bool rmm::mr::detail::is_system_memory_supported (cuda_device_id device_id)
 Check if system allocated memory (SAM) is supported on the specified device. More...
 

Function Documentation

◆ is_system_memory_supported()

static bool rmm::mr::detail::is_system_memory_supported ( cuda_device_id  device_id)
static

Check if system allocated memory (SAM) is supported on the specified device.

Parameters
device_idThe device to check
Returns
true if SAM is supported on the device, false otherwise