-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL] Add Level-Zero interop with specification of ownership #3231
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
Since you have changed the L0 interop API, it seems like you should also update the documentation at "sycl/doc/extensions/LevelZeroBackend/LevelZeroBackend.md". |
Sure, I've updated the doc now. |
A new E2E test is coming in intel/llvm-test-suite#153 |
Signed-off-by: Sergey V Maslov <[email protected]>
Signed-off-by: Sergey V Maslov <[email protected]>
Signed-off-by: Sergey V Maslov <[email protected]>
The failure of SYCL/Plugins/level-zero-interop.cpp in precommit testing is expected and is due to a test bug. The fix is coming in: |
Signed-off-by: Sergey V Maslov <[email protected]>
5094774
to
3b97d3c
Compare
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.
LGTM.
LGTM |
Signed-off-by: Sergey V Maslov <[email protected]>
068a1f1
@mkinsner, @jbrodman , @romanovvlad please review |
Signed-off-by: Sergey V Maslov <[email protected]>
Signed-off-by: Sergey V Maslov <[email protected]>
Waiting on code owner review from @intel/llvm-reviewers-cuda, @intel/llvm-reviewers-runtime , @intel/dpcpp-specification-reviewers! |
@jbrodman Could you please review? |
Extend KhronosGroup/SPIRV-LLVM-Translator#2339 to support also `OpGroupNonUniformShuffle`, `OpGroupNonUniformShuffleUp`, and `OpGroupNonUniformShuffleXor`. Original commit: KhronosGroup/SPIRV-LLVM-Translator@a61deeef1dd3e35
Extend KhronosGroup/SPIRV-LLVM-Translator#2339 to support also `OpGroupNonUniformShuffle`, `OpGroupNonUniformShuffleUp`, and `OpGroupNonUniformShuffleXor`. Original commit: KhronosGroup/SPIRV-LLVM-Translator@a61deeef1dd3e35
Extend KhronosGroup/SPIRV-LLVM-Translator#2339 to support also `OpGroupNonUniformShuffle`, `OpGroupNonUniformShuffleUp`, and `OpGroupNonUniformShuffleXor`. Original commit: KhronosGroup/SPIRV-LLVM-Translator@a61deeef1dd3e35
The Level-Zero backend specified assuming ownership of the native handles used in the interoperability.
There was however request made that this is not sufficient in all cases, e.g. when some memory was created outside SYCL RT in some Level-Zero Context, then working with that memory should always be within the same context. Thus if anyone wanted to "return" something back from SYCL, then the context should still exist and be the same.
This patch only does for context, but probably we'd need to deal with other objects too at some point.
Signed-off-by: Sergey V Maslov [email protected]