All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Typedefs | Functions
resource_ref.hpp File Reference
#include <rmm/detail/error.hpp>
#include <rmm/detail/export.hpp>
#include <cuda/memory_resource>
Include dependency graph for resource_ref.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using rmm::device_resource_ref = cuda::mr::resource_ref< cuda::mr::device_accessible >
 Alias for a cuda::mr::resource_ref with the property cuda::mr::device_accessible.
 
using rmm::device_async_resource_ref = cuda::mr::async_resource_ref< cuda::mr::device_accessible >
 Alias for a cuda::mr::async_resource_ref with the property cuda::mr::device_accessible.
 
using rmm::host_resource_ref = cuda::mr::resource_ref< cuda::mr::host_accessible >
 Alias for a cuda::mr::resource_ref with the property cuda::mr::host_accessible.
 
using rmm::host_async_resource_ref = cuda::mr::async_resource_ref< cuda::mr::host_accessible >
 Alias for a cuda::mr::async_resource_ref with the property cuda::mr::host_accessible.
 
using rmm::host_device_resource_ref = cuda::mr::resource_ref< cuda::mr::host_accessible, cuda::mr::device_accessible >
 Alias for a cuda::mr::resource_ref with the properties cuda::mr::host_accessible and cuda::mr::device_accessible.
 
using rmm::host_device_async_resource_ref = cuda::mr::async_resource_ref< cuda::mr::host_accessible, cuda::mr::device_accessible >
 Alias for a cuda::mr::async_resource_ref with the properties cuda::mr::host_accessible and cuda::mr::device_accessible.
 

Functions

template<class Resource >
device_async_resource_ref rmm::to_device_async_resource_ref_checked (Resource *res)
 Convert pointer to memory resource into device_async_resource_ref, checking for nullptr More...