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

Add support for the read-only attribute for cuda::memory::host::register() #527

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

Comments

@eyalroz
Copy link
Owner

eyalroz commented Jun 1, 2023

The cuda::memory::host::register() currently takes 3 flags:

  • register_mapped_io_space,
  • map_into_device_space,
  • make_device_side_accessible_to_all

(the latter has a typo in the implementation name)

... but recently, it seems there is a new, fourth possible flags: CU_MEMHOSTREGISTER_READ_ONLY. We should add support for it, depending on the CUDA version.

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