Skip to content

Conversation

@sommerlukas
Copy link
Contributor

Detect error scenarios in sycl::ext::oneapi::build and throw the errors specified in the extension.

This handles two scenarios:

  • Calling build where one of the devices given in the list does not support the source language of the bundle.
  • Calling build where one of the devices given in the list does not belong to the context of the source bundle.

@sommerlukas sommerlukas self-assigned this Mar 6, 2025
@sommerlukas sommerlukas requested a review from a team as a code owner March 6, 2025 15:07
Copy link
Contributor

@jopperm jopperm left a comment

Choose a reason for hiding this comment

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

LGTM! You need to bump the counter in sycl/test/e2e_test_requirements/no_sycl_hpp_in_e2e_tests.cpp.

Detect error scenarios in `sycl::ext::oneapi::build` and throw the
errors specified in the extension.

This handles two scenarios:
- Calling build where one of the devices given in the list does not
  support the source language of the bundle.
- Calling build where one of the devices given in the list does not
  belong to the context of the source bundle.

Signed-off-by: Lukas Sommer <lukas.sommer@codeplay.com>
Signed-off-by: Lukas Sommer <lukas.sommer@codeplay.com>
@sommerlukas
Copy link
Contributor Author

It seems the AMD test run was cancelled due to availability of the runner.

As the kernel_compiler is not supported on AMD at the moment, I'll still merge this.

@sommerlukas sommerlukas merged commit fc4f5ee into intel:sycl Mar 11, 2025
31 of 35 checks passed
@sommerlukas sommerlukas deleted the rtc-report-device-errors branch March 11, 2025 08:21
adamfidel pushed a commit to reble/llvm that referenced this pull request Mar 11, 2025
Detect error scenarios in `sycl::ext::oneapi::build` and throw the
errors specified in the extension.

This handles two scenarios:
- Calling build where one of the devices given in the list does not
support the source language of the bundle.
- Calling build where one of the devices given in the list does not
belong to the context of the source bundle.

---------

Signed-off-by: Lukas Sommer <lukas.sommer@codeplay.com>
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