18 #include <rmm/detail/cuda_memory_resource.hpp>
19 #include <rmm/detail/error.hpp>
20 #include <rmm/detail/export.hpp>
22 namespace RMM_NAMESPACE {
59 cuda::mr::resource_ref<cuda::mr::host_accessible, cuda::mr::device_accessible>;
66 cuda::mr::async_resource_ref<cuda::mr::host_accessible, cuda::mr::device_accessible>;
77 template <
class Resource>
80 RMM_EXPECTS(res,
"Unexpected null resource pointer.");
cuda::mr::resource_ref< cuda::mr::host_accessible > host_resource_ref
Alias for a cuda::mr::resource_ref with the property cuda::mr::host_accessible.
Definition: resource_ref.hpp:46
cuda::mr::async_resource_ref< cuda::mr::device_accessible > device_async_resource_ref
Alias for a cuda::mr::async_resource_ref with the property cuda::mr::device_accessible.
Definition: resource_ref.hpp:40
cuda::mr::async_resource_ref< cuda::mr::host_accessible > host_async_resource_ref
Alias for a cuda::mr::async_resource_ref with the property cuda::mr::host_accessible.
Definition: resource_ref.hpp:52
cuda::mr::async_resource_ref< cuda::mr::host_accessible, cuda::mr::device_accessible > host_device_async_resource_ref
Alias for a cuda::mr::async_resource_ref with the properties cuda::mr::host_accessible and cuda::mr::...
Definition: resource_ref.hpp:66
cuda::mr::resource_ref< cuda::mr::host_accessible, cuda::mr::device_accessible > host_device_resource_ref
Alias for a cuda::mr::resource_ref with the properties cuda::mr::host_accessible and cuda::mr::device...
Definition: resource_ref.hpp:59
cuda::mr::resource_ref< cuda::mr::device_accessible > device_resource_ref
Alias for a cuda::mr::resource_ref with the property cuda::mr::device_accessible.
Definition: resource_ref.hpp:34
device_async_resource_ref to_device_async_resource_ref_checked(Resource *res)
Convert pointer to memory resource into device_async_resource_ref, checking for nullptr
Definition: resource_ref.hpp:78