Commit 91b840c
authored
[Driver][SYCL][NewOffloadModel] Hook up -fsycl-device-obj support (#13688)
The -fsycl-device-obj option is available to allow the user to specify
if they want a different output binary with -fsycl based compilations.
Default is to create LLVM-IR based device binaries, but when using
-fsycl-device-obj=spirv, we will generate SPIR-V based binaries.1 parent ccca3b7 commit 91b840c
File tree
2 files changed
+24
-0
lines changed- clang
- lib/Driver
- test/Driver
2 files changed
+24
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7918 | 7918 | | |
7919 | 7919 | | |
7920 | 7920 | | |
| 7921 | + | |
| 7922 | + | |
| 7923 | + | |
| 7924 | + | |
| 7925 | + | |
| 7926 | + | |
| 7927 | + | |
| 7928 | + | |
| 7929 | + | |
7921 | 7930 | | |
7922 | 7931 | | |
7923 | 7932 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
41 | 56 | | |
42 | 57 | | |
43 | 58 | | |
| |||
0 commit comments