Class vl::CudaMemoryResource#
ClassList > vl > CudaMemoryResource
actual memory resource handler for CUDA / GPU memory resources
#include <memory.h>
Inherits the following classes: vl::MemoryResource
Public Functions#
| Type | Name |
|---|---|
| CudaMemoryResource () |
|
| virtual MemoryType | memoryType () override const get the type (location) of the associated memory resource |
| virtual MemoryResourceImpl * | resource () override const get the actual memory handler implementation |
| ~CudaMemoryResource () |
Public Functions inherited from vl::MemoryResource#
| Type | Name |
|---|---|
| void * | allocate (size_t bytes, size_t alignment) |
| void | deallocate (void * ptr, size_t bytes, size_t alignment) |
| bool | is_equal (const MemoryResource & other) noexcept const |
| virtual MemoryType | memoryType () const = 0 get the type (location) of the associated memory resource |
| virtual MemoryResourceImpl * | resource () const = 0 get the actual memory handler implementation |
Public Functions Documentation#
function CudaMemoryResource#
vl::CudaMemoryResource::CudaMemoryResource ()
function memoryType#
get the type (location) of the associated memory resource
virtual MemoryType vl::CudaMemoryResource::memoryType () override const
Returns:
MemoryType
Implements vl::MemoryResource::memoryType
function resource#
get the actual memory handler implementation
virtual MemoryResourceImpl * vl::CudaMemoryResource::resource () override const
Returns:
MemoryResourceImpl
Implements vl::MemoryResource::resource
function ~CudaMemoryResource#
vl::CudaMemoryResource::~CudaMemoryResource ()
The documentation for this class was generated from the following file docs/libvl/build/1.6.0/doxygen/source/vl/memory.h