|
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 | symm |
| int | dev_only |
| int | registered |
| struct cuda_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 cuda_buffer_free_all() (called from cuda_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 cuda_buffer::dev_only |
| void* cuda_buffer::host |
| struct cuda_buffer* cuda_buffer::next |
| int cuda_buffer::symm |