|
spla
|
Base class for any device-local opencl buffer allocator. More...
#include <cl_alloc.hpp>

Public Member Functions | |
| virtual | ~CLAlloc ()=default |
| virtual cl::Buffer | alloc (std::size_t size)=0 |
| virtual void | free (cl::Buffer buffer)=0 |
| virtual void | free_all ()=0 |
Base class for any device-local opencl buffer allocator.
|
virtualdefault |
|
pure virtual |
Implemented in spla::CLAllocGeneral, and spla::CLAllocLinear.
|
pure virtual |
Implemented in spla::CLAllocGeneral, and spla::CLAllocLinear.
|
pure virtual |
Implemented in spla::CLAllocGeneral, and spla::CLAllocLinear.