Skip to content

[SYCL] Fix event info queries for dummy non-host events #3424

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

Merged
merged 2 commits into from
Mar 27, 2021

Conversation

sergey-semenov
Copy link
Contributor

@sergey-semenov sergey-semenov commented Mar 26, 2021

It's possible to obtain a non-host event without an encapsulated
pi_event, e.g. as a result of a USM operation on 0 bytes. Handle this
case in event information queries.

It's possible to obtain a non-device event without an encapsulated
pi_event, e.g. as a result of a USM operation on 0 bytes. Handle this
case in event information queries.
@sergey-semenov sergey-semenov requested a review from a team as a code owner March 26, 2021 11:52
@sergey-semenov sergey-semenov requested a review from s-kanaev March 26, 2021 11:52
@sergey-semenov
Copy link
Contributor Author

Test: intel/llvm-test-suite#201

s-kanaev
s-kanaev previously approved these changes Mar 26, 2021
Copy link
Contributor

@s-kanaev s-kanaev left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@bader bader left a comment

Choose a reason for hiding this comment

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

No else after return, please.

@bader bader merged commit 5d5a792 into intel:sycl Mar 27, 2021
@sergey-semenov sergey-semenov deleted the fixdummyeventinfo branch April 5, 2021 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants