| Cuda battery library
    1.0.0
    | 
#include <allocator.hpp>
| Public Member Functions | |
| CUDA void * | allocate (size_t bytes) | 
| CUDA void | deallocate (void *data) | 
An allocator using the managed memory of CUDA when the memory is allocated on the host. We delegate the allocation to global_allocator when the allocation is done on the device (since managed memory cannot be allocated in device functions). 
| 
 | inline | 
| 
 | inline |