Skip to content

SVM buffer address equivalence tests #2408

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bashbaug
Copy link
Contributor

@bashbaug bashbaug commented Jun 3, 2025

Here are some tests to check how SVM pointers on the host relate to pointer values on the device when a buffer memory object is created from the SVM pointer. See:

Some other interesting tests might be:

  • Create a buffer from a pointer offset into the SVM allocation, rather than the base of the SVM allocation
  • Create a sub-buffer from the buffer created from the SVM pointer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant