dsp::MemoryHost Class Reference

Manages memory allocation and destruction on the host machine. More...

#include <MemoryHost.h>

Inheritance diagram for dsp::MemoryHost:
dsp::Memory Reference::Able Reference::HeapTracked CUDA::PinnedMemory

Public Member Functions

void * do_allocate (size_t nbytes) override
 
void do_free (void *) override
 
void do_zero (void *ptr, size_t nbytes) override
 
void do_copy (void *to, const void *from, size_t bytes) override
 
bool on_host () const override
 
- Public Member Functions inherited from Reference::Able
 Able (const Able &)
 
Ableoperator= (const Able &)
 
unsigned get_reference_count () const
 
- Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
 
HeapTrackedoperator= (const HeapTracked &)
 
bool __is_on_heap () const
 

Additional Inherited Members

- Static Public Member Functions inherited from dsp::Memory
static void * allocate (size_t nbytes)
 
static void free (void *)
 
static void set_manager (Memory *)
 
static Memoryget_manager ()
 
- Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
 
- Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
 
static void operator delete (void *location, void *ptr)
 
static void operator delete (void *location)
 
static size_t get_heap_queue_size ()
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 
- Static Protected Attributes inherited from dsp::Memory
static Memorymanager = 0
 

Detailed Description

Manages memory allocation and destruction on the host machine.


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

Generated using doxygen 1.8.17