Skip to content

[SYCL][Driver][Test] Apply --no-offloadlib and -fno-sycl-instrument-device-code for 2 SYCL driver tests - #23602

Open
jinge90 wants to merge 1 commit into
intel:syclfrom
jinge90:apply_offloadlib_for_2_driver_tests
Open

jinge90 wants to merge 1 commit into
intel:syclfrom
jinge90:apply_offloadlib_for_2_driver_tests

Conversation

@jinge90

@jinge90 jinge90 commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

sycl-c-warn.c applies '--sysroot=%S/Inputs/SYCL --no-offloadlib', we don't need '--sysroot' if using '--no-offloadlib' to get rid of devicelibs. So, update the test to '--no-offloadlib -fno-sycl-instrument-device-code' to totally get rid of devicelibs.
sycl-allow-device-image-deps-win.cpp: every check is about the host link line, the devicelibs are not needed, so remove unnecessary sysroot and replace it with '--no-offloadlib -fno-sycl-instrument-device-code'.

@jinge90
jinge90 requested a review from a team as a code owner October 23, 2026 07:48
@jinge90

jinge90 commented Oct 23, 2026

Copy link
Copy Markdown
Contributor Author

Hi, @intel/dpcpp-clang-driver-reviewers
Could you help review this PR?
Thanks very much.

This branch has not been deployed

No deployments
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