cuda-api-wrappers
cuda-api-wrappers copied to clipboard
Add standard-library-compatible allocators for different memory spaces
While we support "raw" allocation function calls and allocators for unique_ptr's, we don't support the allocators the standard library containers might use. This should perhaps be added.
An inspiration is the visionray package, which implements a managed-memory version std::vector by merely choosing a different allocator.