Skip to content

[SYCL] Fix test issue in multiple-devices.cpp#21227

Merged
sarnex merged 2 commits intointel:syclfrom
HPS-1:fix_compfails
Feb 12, 2026
Merged

[SYCL] Fix test issue in multiple-devices.cpp#21227
sarnex merged 2 commits intointel:syclfrom
HPS-1:fix_compfails

Conversation

@HPS-1
Copy link
Copy Markdown
Contributor

@HPS-1 HPS-1 commented Feb 5, 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>
@HPS-1 HPS-1 changed the title [SYCL] Fix test compfail issues [SYCL] Fix test compfail issue IN multiple-devices.cpp Feb 9, 2026
@HPS-1 HPS-1 changed the title [SYCL] Fix test compfail issue IN multiple-devices.cpp [SYCL] Fix test issue in multiple-devices.cpp Feb 9, 2026
@HPS-1 HPS-1 marked this pull request as ready for review February 9, 2026 03:40
@HPS-1 HPS-1 requested a review from a team as a code owner February 9, 2026 03:40
// 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
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Discussed offline

@sarnex sarnex merged commit 7c346cd into intel:sycl Feb 12, 2026
31 checks passed
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>
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