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] Re-allow auto& parameter in range parallel_for (#11315)
Before #10864, our header implementation allowed kernels with an auto&
parameter, e.g. `q.parallel_for(1, [=](auto &id) {})` , but strictly
speaking, this would not follow the criteria in [4.9.4.2.2. parallel_for
invoke](https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#_parallel_for_invoke).
After that PR, this behavior unintentionally became disallowed. This PR
restores the old behavior while disallowing it under
`-DSYCL2020_CONFORMANT_APIS`.
0 commit comments