Commit a62b220
authored
[SYCL] Use explicit return type in
Apparently, some versions of MSVC (e.g. 14.29.30133) fail to compile it
```
error C3779: 'sycl::_V1::detail::SwizzleOp<VecT,OperationLeftT,OperationRightT,OperationCurrentT,Indexes...>::get_vec_idx': a function that returns 'auto' cannot be used before it is defined
```
when used with `-fsycl-host-compiler`. This has been caught by the
existing `bit_cast_win.cpp` test in a downstream environment.get_vec_idx helper (intel#16464)1 parent 7f9887a commit a62b220
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1181 | 1181 | | |
1182 | 1182 | | |
1183 | 1183 | | |
1184 | | - | |
| 1184 | + | |
1185 | 1185 | | |
1186 | 1186 | | |
1187 | 1187 | | |
| |||
0 commit comments