You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL] Fix long long support in vec::convert on Windows
- Keep `long long` and `unsigned long long` in `is_standard_type`.
Excluding them resulted in duplicate `convertImpl` definitions on
Windows when converting from `long long` or `unsigned long long`:
SPIR-V-based and the non-standard type version.
- For to-int SPIR-V-based `convertImpl` overload resolution, compare
the OpenCL return type with cl_DestType instead of simply DestType
((u)char, (u)short, (u)int, (u)long). When converting to `long long`
or `unsigned long long` on Windows, the non-standard type version
was used instead of these functions, because `cl_long == long long
!= long` there.
0 commit comments