forked from oneapi-src/unified-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ur] Make native memory object creation extensible
This patch replaces the `urMemCreateWithNativeHandle` entry point with two new entry points to handle buffers and images separately; `urMemBufferCreateWithNativeHandle` and `urMemImageCreateWithNativeHandle` (fixes oneapi-src#428). Both take a `pProperites` argument to enable extensibility of native memory handle creation via `pNext` chaining. The `ur_mem_native_properties_t` structure includes `isNativeHandleOwned` in line with discussions in issue oneapi-src#392.
- Loading branch information
Showing
18 changed files
with
778 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.