-
Notifications
You must be signed in to change notification settings - Fork 802
[NFC] Rename ext_codeplay_enqueue_native_command to ext_oneapi_enqueue_native_command #14854
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
Conversation
Now that level zero supports this extension, it should be a oneapi ext instead of a codeplay one.
|
Should this bump the UR L0 adapter tag to oneapi-src/unified-runtime#1880 ? |
Yeah spot on actually will do so now |
75edd53 to
169510e
Compare
|
I think we should have the following before we rename:
|
|
The bump for this PR will be included as part of this PR, so we could remove the UR bump here. |
Good shout, when that PR gets merged I'll rebase and get rid of the bump as part of this PR. |
Changes made. Let me know what you think |
|
Please change PR's title to name the extension, instead of just "codeplay extension" that can be misleading. |
Change made. Thanks |
sycl/doc/extensions/experimental/sycl_ext_oneapi_enqueue_native_command.asciidoc
Outdated
Show resolved
Hide resolved
| auto DstMem = IH.get_native_mem<backend::ext_oneapi_level_zero>(DstA); | ||
|
|
||
| // If L0 interop becomes a real use case we should make a new UR entry | ||
| // point to propagate events into and out of the the interop func. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this comment mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In order to make this entry point more performant on L0 we would need something like the previous host task extensions so we can pass in and out events to the ze call.
As it stands there is no point making this more performant for L0 since no one that we are aware of are using L0 interop in SYCL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
????
We have had a SYCL Level Zero interop specification for a long time and many people are using it.
sycl/test-e2e/EnqueueNativeCommand/custom-command-level-zero.cpp
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/experimental/sycl_ext_oneapi_enqueue_native_command.asciidoc
Outdated
Show resolved
Hide resolved
Use accessor::size instead of get_count.
Use accessors to show where src and dst come from and use accessor::size instead of accessor::get_count. Also update comment to say command list instead of stream.
|
Closing as no longer required |
Now that level zero supports this extension as of
oneapi-src/unified-runtime#1880, this extension should be a oneapi
ext instead of a codeplay one.