Skip to content

[SYCL] Specialize errc for backends. #4298

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

cperkinsintel
Copy link
Contributor

specialization of errc for backends. errc_for added as well for SYCL 2020 spec compliance.

Signed-off-by: Chris Perkins [email protected]

@cperkinsintel cperkinsintel requested a review from a team as a code owner August 9, 2021 23:28
Signed-off-by: Chris Perkins <[email protected]>
Signed-off-by: Chris Perkins <[email protected]>
Copy link
Contributor

@vladimirlaz vladimirlaz left a comment

Choose a reason for hiding this comment

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

Could you please add a compile-time test case to cover the new interface? Maybe you can extend the existing test (https://github.com/intel/llvm/blob/sycl/sycl/test/basic_tests/exceptions-SYCL-2020.cpp)?

Signed-off-by: Chris Perkins <[email protected]>
…for future once specification decisions are made.

Signed-off-by: Chris Perkins <[email protected]>
@cperkinsintel
Copy link
Contributor Author

ping to reviewers.

@bader bader changed the title [SYCL] specialization of errc for backends. [SYCL] Specialize errc for backends. Aug 18, 2021
@romanovvlad romanovvlad merged commit 02756e3 into intel:sycl Aug 18, 2021
@gmlueck
Copy link
Contributor

gmlueck commented Aug 18, 2021

Not sure if you are waiting for my review. As I said in the other comment, the spec is not clear about the OpenCL error codes, and this needs to be fixed in the spec. Khronos issue KhronosGroup/SYCL-Docs#182 tracks this spec deficiency.

I don't mind if this change is committed, but it may need to change further once that Khronos issue is resolved.

aelovikov-intel added a commit to aelovikov-intel/llvm that referenced this pull request May 23, 2024
It had been removed from the specification in
KhronosGroup/SYCL-Docs#431. Originally
introduced in intel#4298 the implementation
has never been completed, so, while technically a breaking change, no
customer code can be really using it.
aelovikov-intel added a commit to aelovikov-intel/llvm that referenced this pull request Jun 26, 2024
It had been removed from the specification in
KhronosGroup/SYCL-Docs#431. Originally
introduced in intel#4298 the implementation
has never been completed, so, while technically a breaking change, no
customer code can be really using it.
aelovikov-intel added a commit that referenced this pull request Jun 27, 2024
It had been removed from the specification in
KhronosGroup/SYCL-Docs#431. Originally
introduced in #4298 the implementation
has never been completed, so, while technically a breaking change, no
customer code can be really using it.
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.

4 participants