|
Neko 1.99.6
A portable framework for high-order spectral element flow simulations
|
#include <buffer.h>

Public Attributes | |
| void * | host |
| void * | dev |
| size_t | size |
| int | dev_only |
| int | registered |
| struct hip_buffer * | next |
Device buffer: a lazily grown pair of a pinned host buffer and a device buffer, owned by the device layer. A buffer is linked into a registry on its first reservation, and hip_buffer_free_all() (called from hip_finalize) releases all registered buffers and resets them to an empty state, from which they grow again on demand after a subsequent device init
| int hip_buffer::dev_only |
| void* hip_buffer::host |
| struct hip_buffer* hip_buffer::next |