Skip to content

[SYCL][E2E] Fix uneven_kernel_split.cpp link-step -Werror failure - #22903

Open
wenju-he wants to merge 1 commit into
intel:syclfrom
wenju-he:fix-compfail-uneven_kernel_split.cpp
Open

[SYCL][E2E] Fix uneven_kernel_split.cpp link-step -Werror failure#22903
wenju-he wants to merge 1 commit into
intel:syclfrom
wenju-he:fix-compfail-uneven_kernel_split.cpp

Conversation

@wenju-he

@wenju-he wenju-he commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

44b3c2d only suppressed unused-argument warnings via
%{link_flags} when the new offload model was active. This missed
flags that are always unused at link time regardless of offload model
(e.g. /EHsc from CMAKE_CXX_FLAGS on Windows), causing
-Werror,-Wunused-command-line-argument to fail the link step.
Always pass -Wno-unused-command-line-argument at link time instead.

@wenju-he
wenju-he requested a review from a team as a code owner August 10, 2026 01:22
44b3c2d only suppressed unused-argument warnings via
`%{link_flags}` when the new offload model was active. This missed
flags that are always unused at link time regardless of offload model
(e.g. `/EHsc` from `CMAKE_CXX_FLAGS` on Windows), causing
`-Werror,-Wunused-command-line-argument` to fail the link step.
Always pass `-Wno-unused-command-line-argument` at link time instead.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
@wenju-he
wenju-he force-pushed the fix-compfail-uneven_kernel_split.cpp branch from cb09399 to 980494d Compare August 10, 2026 01:25
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.

1 participant