-
Notifications
You must be signed in to change notification settings - Fork 796
[TESTING][SYCL] Enable new offload driver by default for SYCL #20570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: sycl
Are you sure you want to change the base?
[TESTING][SYCL] Enable new offload driver by default for SYCL #20570
Conversation
982225f to
1b0769c
Compare
1b0769c to
c5466d7
Compare
| 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()) |
There was a problem hiding this comment.
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.
c5466d7 to
b1f16c7
Compare
b1f16c7 to
75026bb
Compare
798ea83 to
75026bb
Compare
This PR is created for testing SYCL E2E test that are failing with new offloading model, and will not be merged.