Skip to content

Add USM allocations#2

Open
szymon-zadworny wants to merge 26 commits into
oneapi-src:mainfrom
szymon-zadworny:usm-alloc
Open

Add USM allocations#2
szymon-zadworny wants to merge 26 commits into
oneapi-src:mainfrom
szymon-zadworny:usm-alloc

Conversation

@szymon-zadworny

Copy link
Copy Markdown
Contributor

This PR provides:

  • host, shared and device-side USM allocator bindings in accordance with the upcoming Allocator trait
  • a basic Buffer abstraction
  • unsafe Buffer allocation functions.

It serves as plumbing work for further safe abstractions. In particular - we can't implement safe allocations without having access to memcpy/fill first, which in turn require sycl::event bindings.

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