Commit 53ae4bf
authored
[Driver][SYCL] Pass as system headers for external SYCL host compilation (#18449)
The use of `-fsycl-host-compiler=arg` allows a user to specify a 3rd
party compiler to perform host compilation when using `-fsycl`. The
compilation will also include the SYCL specific headers. Pass in these
headers as system headers with `-isystem` so they are treated as system
headers as opposed to user headers.
---------
Signed-off-by: Michael D Toguchi <michael.d.toguchi@intel.com>1 parent 15b3ece commit 53ae4bf
2 files changed
Lines changed: 22 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5282 | 5282 | | |
5283 | 5283 | | |
5284 | 5284 | | |
| 5285 | + | |
| 5286 | + | |
| 5287 | + | |
| 5288 | + | |
| 5289 | + | |
| 5290 | + | |
5285 | 5291 | | |
5286 | 5292 | | |
5287 | 5293 | | |
| |||
5292 | 5298 | | |
5293 | 5299 | | |
5294 | 5300 | | |
5295 | | - | |
| 5301 | + | |
| 5302 | + | |
| 5303 | + | |
5296 | 5304 | | |
5297 | | - | |
| 5305 | + | |
5298 | 5306 | | |
5299 | | - | |
| 5307 | + | |
5300 | 5308 | | |
5301 | 5309 | | |
5302 | 5310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
11 | 16 | | |
12 | 17 | | |
13 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
14 | 23 | | |
15 | 24 | | |
16 | 25 | | |
| |||
0 commit comments