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

mapped memory allocation currently insists on CU_MEMHOSTALLOC_DEVICEMAP #528

Closed
eyalroz opened this issue Jun 1, 2023 · 0 comments
Closed

Comments

@eyalroz
Copy link
Owner

eyalroz commented Jun 1, 2023

Currently, our cuda::memory::mapped::allocate() function always allocates with the CU_MEMHOSTALLOC_DEVICEMAP flag - meaning it expects to get the same address for the device and the host. But - this whole namespace is for when we have a pair of addresses...

Either we support real pairs, in which case we support older GPUs as well (which is the earliest CPU to provide the same address? Kepler? Maxwell? Can't be later than Pascal) - or we rearrange this namespace somehow.

@eyalroz eyalroz added the task label Jun 1, 2023
@eyalroz eyalroz self-assigned this Jun 1, 2023
eyalroz added a commit that referenced this issue Jun 7, 2023
eyalroz added a commit that referenced this issue Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant