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

IDEA: CuHostArray #28

Closed
maleadt opened this issue May 11, 2020 · 1 comment
Closed

IDEA: CuHostArray #28

maleadt opened this issue May 11, 2020 · 1 comment
Labels
cuda array Stuff about CuArray. speculative Not sure about this one yet.

Comments

@maleadt
Copy link
Member

maleadt commented May 11, 2020

We currently represent host-accessible memory with regular Array and unsafe_wrap. However, that doesn't get us safe memory tracking. Maybe we should create a CuHostArray type to represent host-accessible CUDA memory, e.g., allocated host memory, or unified memory. That way we could consistently put the buffer in the array type, which would give us proper tracking of memory ownership.

@maleadt maleadt transferred this issue from JuliaGPU/CUDAdrv.jl May 27, 2020
@maleadt maleadt added cuda array Stuff about CuArray. speculative Not sure about this one yet. labels May 27, 2020
@maleadt
Copy link
Member Author

maleadt commented Nov 1, 2023

This is now supported, but still using CuArray.

@maleadt maleadt closed this as completed Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda array Stuff about CuArray. speculative Not sure about this one yet.
Projects
None yet
Development

No branches or pull requests

1 participant