#include <stddef.h>
Go to the source code of this file.
|
| #define | HIP_BUFFER_INIT {NULL, NULL, 0, 0, 0, NULL} |
| #define | HIP_BUFFER_INIT_DEV {NULL, NULL, 0, 1, 0, NULL} |
◆ HIP_BUFFER_INIT
| #define HIP_BUFFER_INIT {NULL, NULL, 0, 0, 0, NULL} |
◆ HIP_BUFFER_INIT_DEV
| #define HIP_BUFFER_INIT_DEV {NULL, NULL, 0, 1, 0, NULL} |
◆ hip_buffer_t
◆ hip_buffer_free_all()
| 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.
◆ hip_buffer_reserve()
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.