Commit 54777c0
authored
[Driver][SYCL] Fix issue using -fsycl-force-target with offload dependencies (#7025)
When using performing offloading with archives, an additional
clang-offload-deps step is taken that determines the device dependencies
during the link. When using -fsycl-force-target, we need to be sure that
the target in which the dependency information is associated with
matches so the proper device objects are referenced and pulled out.1 parent c44a84a commit 54777c0
File tree
2 files changed
+25
-3
lines changed- clang
- lib/Driver/ToolChains
- test/Driver
2 files changed
+25
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9407 | 9407 | | |
9408 | 9408 | | |
9409 | 9409 | | |
9410 | | - | |
9411 | | - | |
9412 | | - | |
| 9410 | + | |
| 9411 | + | |
| 9412 | + | |
| 9413 | + | |
| 9414 | + | |
| 9415 | + | |
| 9416 | + | |
| 9417 | + | |
| 9418 | + | |
| 9419 | + | |
| 9420 | + | |
| 9421 | + | |
| 9422 | + | |
9413 | 9423 | | |
9414 | 9424 | | |
9415 | 9425 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
24 | 36 | | |
25 | 37 | | |
26 | 38 | | |
| |||
0 commit comments