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
[NFCI][SYCL] Reduce dependencies of <sycl/range.hpp>
North star goal: compile
```cpp
namespace syclext = sycl::ext::oneapi;
namespace syclexp = sycl::ext::oneapi::experimental;
SYCL_EXT_ONEAPI_FUNCTION_PROPERTY((syclexp::nd_range_kernel<1>))
void foo(int *p) {
size_t id = syclext::this_work_item::get_nd_item<1>().get_global_linear_id();
p[id] = 0;
}
```
as fast as possible by limiting number of necessary includes.
`item`/`nd_item`/`nd_range`/etc. are all dependent on `range`, so the
first tiny step would be to speed up its compilation as much as possible.
0 commit comments