19 #include <cudf/utilities/export.hpp>
24 namespace CUDF_EXPORT
cudf {
cuda::mr::async_resource_ref< cuda::mr::host_accessible, cuda::mr::device_accessible > host_device_async_resource_ref
void set_kernel_pinned_copy_threshold(size_t threshold)
设置使用内核进行固定内存复制的阈值大小。
void set_allocate_host_as_pinned_threshold(size_t threshold)
设置将主机内存分配为固定内存的阈值大小。
size_t get_allocate_host_as_pinned_threshold()
获取将主机内存分配为固定内存的阈值大小。
size_t get_kernel_pinned_copy_threshold()
获取使用内核进行固定内存复制的阈值大小。
bool config_default_pinned_memory_resource(pinned_mr_options const &opts)
配置默认固定内存资源的大小。
rmm::host_device_async_resource_ref set_pinned_memory_resource(rmm::host_device_async_resource_ref mr)
设置用于固定内存分配的 rmm 资源。
rmm::host_device_async_resource_ref get_pinned_memory_resource()
获取用于固定内存分配的 rmm 资源。
std::optional< size_t > pool_size