ghost_error ghost_cu_temp_buffer_free(void *mem)
Frees memory allocated with ghost_cu_temp_buffer_malloc. Threadsafe.
Definition: cu_temp_buffer_malloc.cpp:65
ghost_error ghost_cu_temp_buffer_malloc(void **mem, size_t bytesize)
Useful for allocating small temporary buffers. Keeps a list of previously allocated and freed buffers...
Definition: cu_temp_buffer_malloc.cpp:27