| 函数
system_memory_resource.hpp 文件参考
#include <rmm/cuda_device.hpp>
#include <rmm/cuda_stream_view.hpp>
#include <rmm/detail/error.hpp>
#include <rmm/detail/export.hpp>
#include <rmm/detail/format.hpp>
#include <rmm/mr/device/device_memory_resource.hpp>
#include <cstddef>
#include <string>
system_memory_resource.hpp 的包含依赖关系图
此图显示了直接或间接包含此文件的文件

转到此文件的源代码。

类  rmm::mr::system_memory_resource
 使用 malloc/free 进行分配/释放的 device_memory_resource 派生类。 更多...
 

函数

static bool rmm::mr::detail::is_system_memory_supported (cuda_device_id device_id)
 检查指定的设备是否支持系统分配内存 (SAM)。 更多...
 

函数文档

◆ is_system_memory_supported()

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

检查指定的设备是否支持系统分配内存 (SAM)。

参数
device_id要检查的设备
返回
如果设备支持 SAM 则返回 true,否则返回 false