Skip to content

[SYCL] Throw exception for pipe extension on host #6385

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

Conversation

steffenlarsen
Copy link
Contributor

The implementation of the pipes extension currently uses a failing assert when pipe operations are done on host. This commit changes these assertions into throwing a SYCL exception, both allowing for failure recovery and makes the failures independent on whether assertions are enabled.

The implementation of the pipes extension currently uses a failing
assert when pipe operations are done on host. This commit changes these
assertions into throwing a SYCL exception, both allowing for failure
recovery and makes the failures independent on whether assertions are
enabled.

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen steffenlarsen requested a review from a team as a code owner July 1, 2022 10:52
@steffenlarsen
Copy link
Contributor Author

CUDA failure is unrelated and is disabled with intel/llvm-test-suite#1073

@steffenlarsen steffenlarsen merged commit eab2969 into intel:sycl Jul 1, 2022
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.

2 participants