Skip to content

Conversation

@joeatodd
Copy link
Contributor

This PR enables (a subset of) the SYCLcompat memory APIs on devices which lack USM support.

Defining COMPAT_USM_LEVEL_NONE enables this mode, in which syclcompat memory APIs (malloc, memcpy, memset, free, etc) operate with virtual device pointers, backed by buffers.

@joeatodd
Copy link
Contributor Author

I've merged sycl to try to confirm that these failures are definitely resolved.

Copy link
Contributor

@Alcpz Alcpz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for the contribution. Most of the comments are minor.

Co-authored-by: Alberto Cabrera Pérez <[email protected]>
Not allowed to nest q.submit for the memcpy when using buffer support.
Not sure why this was needed.
@Alcpz
Copy link
Contributor

Alcpz commented Oct 23, 2024

LGTM, great work @joeatodd

@joeatodd
Copy link
Contributor Author

@intel/llvm-gatekeepers this is ready to merge 🙏

@martygrant martygrant merged commit 799d267 into intel:sycl Oct 23, 2024
13 checks passed
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.

3 participants