|
vecmem 1.22.0
|
Memory resource for HIP shared host/device memory. More...
#include <vecmem/memory/hip/host_memory_resource.hpp>
Public Member Functions | |
| VECMEM_HIP_EXPORT | host_memory_resource () |
| Default constructor. | |
| VECMEM_HIP_EXPORT | ~host_memory_resource () noexcept override |
| Destructor. | |
Private Member Functions | |
Function(s) implementing @c vecmem::memory_resource | |
| VECMEM_HIP_EXPORT void * | do_allocate (std::size_t nbytes, std::size_t alignment) override |
| Function performing the memory allocation. | |
| VECMEM_HIP_EXPORT void | do_deallocate (void *ptr, std::size_t nbytes, std::size_t alignment) override |
| Function performing the memory de-allocation. | |
| VECMEM_HIP_EXPORT bool | do_is_equal (const memory_resource &other) const noexcept override |
| Function comparing two memory resource instances. | |
Memory resource for HIP shared host/device memory.