HostMemory
HostMemory
Section titled “HostMemory”#include <sbio/execution/host_memory.hh>struct HostMemoryDefined in src/lib/sbio/execution/host_memory.hh:32
A very simple MemoryManager which places all buffers in pageable host memory.
Public Static Methods
Section titled “Public Static Methods”| Return | Name | Description |
|---|---|---|
void |
allocate_buffer static inline |
|
void |
release_buffer static inline |
allocate_buffer
Section titled “allocate_buffer”static inline
static inline void allocate_buffer(HostBuffer & buf, std::size_t size)Defined in src/lib/sbio/execution/host_memory.hh:36
release_buffer
Section titled “release_buffer”static inline
static inline void release_buffer(HostBuffer & buf)Defined in src/lib/sbio/execution/host_memory.hh:40
Public Types
Section titled “Public Types”| Name | Description |
|---|---|
PlacementFor |
PlacementFor
Section titled “PlacementFor”using PlacementFor = HostBufferType: HostBuffer
Defined in src/lib/sbio/execution/host_memory.hh:34