[SYCL] Fix test issue in multiple-devices.cpp#21227
Merged
sarnex merged 2 commits intointel:syclfrom Feb 12, 2026
Merged
Conversation
Signed-off-by: Hu, Peisen <peisen.hu@intel.com>
multiple-devices.cpp
multiple-devices.cppmultiple-devices.cpp
sarnex
reviewed
Feb 9, 2026
| // Verify that AOT compilation occurs for the targets (GPU, CPU) | ||
| // specified in the link command line. Note that generic SPIR-V compilation | ||
| // is enabled by default even when AOT GPU or CPU targets are specified. | ||
| // RUN: %{run-aux} %clangxx -fsycl -fsycl-targets=spir64_x86_64,spir64_gen -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts -v %t.o -o %t_cpu_gpu.out 2>&1 | FileCheck %s --check-prefix=CHECK-AOT-CPU --check-prefix=CHECK-AOT-GPU --check-prefix=CHECK-GENERIC |
Contributor
There was a problem hiding this comment.
I don't see anything specific in this test that seems like it would cause that warning, any idea why the issue is happening in this test and not everywhere?
sarnex
approved these changes
Feb 12, 2026
luszczewskakasia1
pushed a commit
to luszczewskakasia1/llvm
that referenced
this pull request
Feb 26, 2026
The test is failing on some platforms with the following error: `icx: error: argument unused during compilation: '-EHsc'` The 'redundant' `EHsc` argument is only used to debug Window issues and has no practical impact on the test. Therefore, adding the `-Wno-unused-command-line-argument` option to suppress the error and fix the test. Signed-off-by: Hu, Peisen <peisen.hu@intel.com>
KornevNikita
pushed a commit
that referenced
this pull request
Mar 10, 2026
The test is failing on some platforms with the following error: `icx: error: argument unused during compilation: '-EHsc'` The 'redundant' `EHsc` argument is only used to debug Window issues and has no practical impact on the test. Therefore, adding the `-Wno-unused-command-line-argument` option to suppress the error and fix the test. Signed-off-by: Hu, Peisen <peisen.hu@intel.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The test is failing on some platforms with the following error:
icx: error: argument unused during compilation: '-EHsc'The 'redundant'
EHscargument is only used to debug Window issues and has no practical impact on the test. Therefore, adding the-Wno-unused-command-line-argumentoption to suppress the error and fix the test.