cuda-api-wrappers icon indicating copy to clipboard operation
cuda-api-wrappers copied to clipboard

Add standard-library-compatible allocators for different memory spaces

Open eyalroz opened this issue 5 years ago • 0 comments

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.

eyalroz avatar Jun 05 '20 22:06 eyalroz