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

Go to the source code of this file.
Classes | |
| struct | hip_buffer |
Macros | |
| #define | HIP_BUFFER_INIT {NULL, NULL, 0, 0, 0, NULL} |
| #define | HIP_BUFFER_INIT_DEV {NULL, NULL, 0, 1, 0, NULL} |
Typedefs | |
| typedef struct hip_buffer | hip_buffer_t |
Functions | |
| void | hip_buffer_reserve (hip_buffer_t *buf, size_t size) |
| void | hip_buffer_free_all (void) |
Free all registered buffers and reset them to an empty state
Definition at line 70 of file buffer.hip.

| void hip_buffer_reserve | ( | hip_buffer_t * | buf, |
| size_t | size | ||
| ) |
Ensure that a buffer holds at least size bytes on both the host and the device side (device side only for device-only buffers), growing it if necessary
Definition at line 47 of file buffer.hip.

