You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Allocators are a foundational building block for many features of the STL.
Besides that, memory allocation is a constant thorn when working with CUDA C++.
We should implement allocator support within libcu++ and provide extensions, so that users can utilize e.g. stream based allocations and access to the different memory categories that are supported on device
Describe the solution you'd like
We first need to modularize our exception handling code so that we can at least include the relevant headers when compiling for device.
We then need to adopt allocator_traits and allocator to be usable on device. This should be feasible because for the default case we can fall back to host side operator new
Is this a duplicate?
Area
libcu++
Is your feature request related to a problem? Please describe.
Allocators are a foundational building block for many features of the STL.
Besides that, memory allocation is a constant thorn when working with CUDA C++.
We should implement allocator support within libcu++ and provide extensions, so that users can utilize e.g. stream based allocations and access to the different memory categories that are supported on device
Describe the solution you'd like
We first need to modularize our exception handling code so that we can at least include the relevant headers when compiling for device.
We then need to adopt
allocator_traits
andallocator
to be usable on device. This should be feasible because for the default case we can fall back to host sideoperator new
This depends on #179
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: