#include <stddef.h>
Go to the source code of this file.
|
| #define | CUDA_BUFFER_INIT {NULL, NULL, 0, 0, 0, 0, NULL} |
| |
| #define | CUDA_BUFFER_INIT_SYMM {NULL, NULL, 0, 1, 0, 0, NULL} |
| |
| #define | CUDA_BUFFER_INIT_DEV {NULL, NULL, 0, 0, 1, 0, NULL} |
| |
◆ CUDA_BUFFER_INIT
◆ CUDA_BUFFER_INIT_DEV
◆ CUDA_BUFFER_INIT_SYMM
◆ cuda_buffer_t
◆ cuda_buffer_free_all()
Free all registered buffers and reset them to an empty state
Definition at line 87 of file buffer.cu.
◆ cuda_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 50 of file buffer.cu.