Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEA]: Investigate supporting allocators within libcu++ #180

Open
1 task done
miscco opened this issue Jul 10, 2023 · 0 comments
Open
1 task done

[FEA]: Investigate supporting allocators within libcu++ #180

miscco opened this issue Jul 10, 2023 · 0 comments
Assignees
Labels
feature request New feature or request. libcu++ For all items related to libcu++

Comments

@miscco
Copy link
Collaborator

miscco commented Jul 10, 2023

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 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

This depends on #179

Describe alternatives you've considered

No response

Additional context

No response

@miscco miscco self-assigned this Jul 12, 2023
@miscco miscco added feature request New feature or request. libcu++ For all items related to libcu++ labels Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request. libcu++ For all items related to libcu++
Projects
Status: Todo
Development

No branches or pull requests

1 participant