Skip to content

Conversation

@Maetveis
Copy link
Contributor

This is required to ensure that the correct target with the correct options is used when linking with clang in the test. For example without trying to use the SPIR-V (not the SPIR) backend for testing with --param spirv-backend=True does not take effect. If the test would be run on a non SPIR target it would fail as clang is expecting object files for the SPIR target when -fsycl-targets is not set.

This is required to ensure that the correct target with the correct
options is used when linking with clang in the test.
For example without trying to use the `SPIR-V` (not the SPIR) backend
for testing with `--param spirv-backend=True` does not take effect.
If the test would be run on a non SPIR target it would fail
as clang is expecting object files for the SPIR target when `-fsycl-targets`
is not set.
@Maetveis Maetveis requested a review from a team as a code owner June 16, 2025 15:07
@Maetveis Maetveis requested a review from againull June 16, 2025 15:07
@againull againull merged commit 610d42a into intel:sycl Jun 16, 2025
25 checks passed
@Maetveis Maetveis deleted the device-lib-sycl-target-opts branch June 17, 2025 03:19
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