Commit c3feab4
Fix generation of min/max calls for SYCL
SYCL 2020 specification does not define min/max overloads accepting
`bool` data type, but yarpgen generates code that calls them. Of course,
such code does not compile and to fix this, we do a promotion from
`bool` to `char` (or `signed char`, to be precise).
Signed-off-by: Alexey Sachkov <alexey.sachkov@intel.com>1 parent a62446a commit c3feab4
1 file changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3033 | 3033 | | |
3034 | 3034 | | |
3035 | 3035 | | |
| 3036 | + | |
| 3037 | + | |
| 3038 | + | |
| 3039 | + | |
| 3040 | + | |
| 3041 | + | |
| 3042 | + | |
| 3043 | + | |
| 3044 | + | |
| 3045 | + | |
| 3046 | + | |
| 3047 | + | |
| 3048 | + | |
| 3049 | + | |
| 3050 | + | |
3036 | 3051 | | |
3037 | 3052 | | |
3038 | 3053 | | |
| |||
3052 | 3067 | | |
3053 | 3068 | | |
3054 | 3069 | | |
| 3070 | + | |
| 3071 | + | |
| 3072 | + | |
| 3073 | + | |
| 3074 | + | |
3055 | 3075 | | |
3056 | 3076 | | |
3057 | 3077 | | |
| |||
0 commit comments