UMPIRE
Umpire: resource management and provision
umpire::alloc::CudaPinnedAllocator Struct Reference

#include </home/docs/checkouts/readthedocs.org/user_builds/umpire/checkouts/develop/src/umpire/alloc/CudaPinnedAllocator.hpp>

Public Member Functions

void * allocate (std::size_t bytes)
 
void deallocate (void *ptr)
 
bool isAccessible (Platform p)
 

Member Function Documentation

◆ allocate()

void* umpire::alloc::CudaPinnedAllocator::allocate ( std::size_t  bytes)
inline

◆ deallocate()

void umpire::alloc::CudaPinnedAllocator::deallocate ( void *  ptr)
inline

◆ isAccessible()

bool umpire::alloc::CudaPinnedAllocator::isAccessible ( Platform  p)
inline