#include <stddef.h>
#include <CL/cl.h>
Go to the source code of this file.
◆ OPENCL_BUFFER_INIT
| #define OPENCL_BUFFER_INIT {NULL, NULL, 0, 0, NULL} |
◆ opencl_buffer_t
◆ opencl_buffer_free_all()
| void opencl_buffer_free_all |
( |
void | | ) |
|
Free all registered buffers and reset them to an empty state
Definition at line 69 of file buffer.c.
◆ opencl_buffer_reserve()
Ensure that a buffer holds at least size bytes on both the host and the device side, growing it if necessary
Definition at line 46 of file buffer.c.