Skip to content

[TESTING][SYCL] Enable new offload driver by default for SYCL#20570

Draft
YixingZhang007 wants to merge 1 commit intointel:syclfrom
YixingZhang007:enable_new_offload_model_default
Draft

[TESTING][SYCL] Enable new offload driver by default for SYCL#20570
YixingZhang007 wants to merge 1 commit intointel:syclfrom
YixingZhang007:enable_new_offload_model_default

Conversation

@YixingZhang007
Copy link
Contributor

@YixingZhang007 YixingZhang007 commented Nov 6, 2025

This PR is created for testing SYCL E2E test that are failing with new offloading model, and will not be merged.

if (const Arg *A = Args.getLastArg(options::OPT_fsycl_targets_EQ)) {
for (const char *Val : A->getValues()) {
llvm::Triple TT(C.getDriver().getSYCLDeviceTriple(Val));
if ((!TT.isSPIROrSPIRV()) || TT.isSPIRAOT())
Copy link
Contributor

Choose a reason for hiding this comment

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

This doesn't look to handle values like intel_gpu_pvc or other non-Triple related values for AMD and NVidia. Unclear why we need to have this specific check though, testing for the new offload model for SYCL should only care about -fsycl usage. -fsycl-targets is just a modifier for what -fsycl does.

@YixingZhang007 YixingZhang007 force-pushed the enable_new_offload_model_default branch from c5466d7 to b1f16c7 Compare November 18, 2025 18:50
@YixingZhang007 YixingZhang007 force-pushed the enable_new_offload_model_default branch from b1f16c7 to 75026bb Compare November 18, 2025 20:12
@YixingZhang007 YixingZhang007 force-pushed the enable_new_offload_model_default branch from b3635c8 to 94ada0b Compare January 1, 2026 20:21
@YixingZhang007 YixingZhang007 force-pushed the enable_new_offload_model_default branch from 94ada0b to 95014ed Compare January 7, 2026 13:12
@YixingZhang007 YixingZhang007 force-pushed the enable_new_offload_model_default branch from 95014ed to ac8abf2 Compare February 9, 2026 22:50
@YixingZhang007 YixingZhang007 force-pushed the enable_new_offload_model_default branch from ac8abf2 to 20b5a82 Compare February 10, 2026 21:52
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