Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL] Fix resource management in SYCL/Plugin/interop-level-zero.cpp #1032

Merged
merged 2 commits into from
May 23, 2022

Conversation

aelovikov-intel
Copy link

No description provided.

@@ -53,6 +53,10 @@ int main() {

backend_input_t<backend::ext_oneapi_level_zero, event> EventInteropInput = {
ZeEvent};
// ZeEvent isn't owning the resource, we cannot transfer ownership that we

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, the real L0 event resources was created by SYCL RT in https://github.com/intel/llvm-test-suite/pull/1032/files#diff-7d9caf352e8bfa25a4a5e0c96638dce519cf6058ecd8c6d5c1d218de88bd9e6bR20, and will be destroyed at Event dtor, right? Please add this into comment, if yes.

@againull againull merged commit a2a254f into intel:intel May 23, 2022
myler pushed a commit to myler/llvm-test-suite that referenced this pull request Jun 17, 2022
@aelovikov-intel aelovikov-intel deleted the fix-interop-event branch August 15, 2022 20:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants