Commit 1e6ab92
committed
[SYCL] Add support for _Float16 type mangling to OclCxxRewrite
Half type is defined on SYCL device as _Float16. This type is mangled by
clang as "DF16_". OclCxxRewrite doesn't support this mangling and skips
all OpenCL built-ins with _Float16 type. So these built-ins are not
translated properly to SPIRV without this change.
Signed-off-by: Mariya Podchishchaeva <mariya.podchishchaeva@intel.com>1 parent 17bf4b6 commit 1e6ab92
File tree
2 files changed
+3
-1
lines changed- clang/lib/CodeGen/OclCxxRewrite
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
| 356 | + | |
| 357 | + | |
356 | 358 | | |
357 | 359 | | |
358 | 360 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
0 commit comments