Public Member Functions | List of all members
rmm::mr::new_delete_resource Class Referencefinal

A host_memory_resource that uses the global operator new and. More...

#include <new_delete_resource.hpp>

Inheritance diagram for rmm::mr::new_delete_resource:
Inheritance graph
[legend]
Collaboration diagram for rmm::mr::new_delete_resource:
Collaboration graph
[legend]

Public Member Functions

 new_delete_resource (new_delete_resource const &)=default
 
 new_delete_resource (new_delete_resource &&)=default
 
new_delete_resourceoperator= (new_delete_resource const &)=default
 
new_delete_resourceoperator= (new_delete_resource &&)=default
 
- Public Member Functions inherited from rmm::mr::host_memory_resource
void * allocate (std::size_t bytes, std::size_t alignment=alignof(std::max_align_t))
 Allocates memory on the host of size at least bytes bytes. More...
 
void deallocate (void *p, std::size_t bytes, std::size_t alignment=alignof(std::max_align_t))
 Deallocate memory pointed to by p. More...
 
bool is_equal (host_memory_resource const &other) const noexcept
 Compare this resource to another. More...
 

Detailed Description

A host_memory_resource that uses the global operator new and.

------------------------------------------------------------------------—*

<tt>operator delete</tt> to allocate host memory.


The documentation for this class was generated from the following file: