Commit 139ed3a
committed
[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 downstream.get_vec_idx helper1 parent 15929c6 commit 139ed3a
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