-
Notifications
You must be signed in to change notification settings - Fork 808
[SYCL] Add Level-Zero interop with specification of ownership for Queue. #4066
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
Changes from 2 commits
a00dbe2
8f58fb9
9ed3cea
a0bc966
5d107bb
d237f85
9bd92cc
458672c
066ed64
ea9b3f4
39e9f6d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,10 +36,11 @@ | |
| // 2. A number of types needed to define pi_device_binary_property_set added. | ||
| // 3. Added new ownership argument to piextContextCreateWithNativeHandle. | ||
| // 4. Add interoperability interfaces for kernel. | ||
| // 5. Added new ownership argument to piextQueueCreateWithNativeHandle. | ||
|
||
| // | ||
| #include "CL/cl.h" | ||
| #define _PI_H_VERSION_MAJOR 3 | ||
| #define _PI_H_VERSION_MINOR 5 | ||
| #define _PI_H_VERSION_MAJOR 4 | ||
| #define _PI_H_VERSION_MINOR 6 | ||
|
|
||
| #define _PI_STRING_HELPER(a) #a | ||
| #define _PI_CONCAT(a, b) _PI_STRING_HELPER(a.b) | ||
|
|
@@ -1042,9 +1043,12 @@ piextQueueGetNativeHandle(pi_queue queue, pi_native_handle *nativeHandle); | |
| /// | ||
| /// \param nativeHandle is the native handle to create PI queue from. | ||
| /// \param context is the PI context of the queue. | ||
| /// \param ownNativeHandle tells if SYCL RT should assume the ownership of | ||
| /// the native handle, if it can. | ||
| /// \param queue is the PI queue created from the native handle. | ||
| __SYCL_EXPORT pi_result piextQueueCreateWithNativeHandle( | ||
| pi_native_handle nativeHandle, pi_context context, pi_queue *queue); | ||
| pi_native_handle nativeHandle, pi_context context, bool ownNativeHandle, | ||
| pi_queue *queue); | ||
|
|
||
| // | ||
| // Memory | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.