Skip to content
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

[NFC][SYCL] Change enqueueImpKernel to return void #14507

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

aelovikov-intel
Copy link
Contributor

It only returns PI_SUCCESS through normal control flow, all the errors result in an exception thrown. In other words, there is no return NOT_A_PI_SUCCESS inside its body, so we can simply make it void and simplify its callers.

It only return `PI_SUCCESS` through normal control flow, all the errors
result in an exception thrown. In other words, there is no `return
NOT_A_PI_SUCCESS` anyway inside its body, so we can simply make it
`void` and simplify its callers.
Copy link
Contributor

@EwanC EwanC left a comment

Choose a reason for hiding this comment

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

Graphs LGTM

@sergey-semenov sergey-semenov merged commit 7221b17 into intel:sycl Jul 10, 2024
15 checks passed
@aelovikov-intel aelovikov-intel deleted the ret-void branch July 10, 2024 15:16
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.

None yet

4 participants