A custom memory allocator used with std::vector
.
More...
#include <malloc_allocator.h>
A custom memory allocator used with std::vector
.
It is a custom memory allocator (CUDA PINNED memory allocation) that is used with STL vector container used within SkePU containers to allow overlapping communication and computation with CUDA calls. It allocates memory using cudaMallocHost and de-allocate it using cudaHostFree.