DPC++ daily 2022-06-08
Pre-release
Pre-release
·
135855 commits
to sycl
since this release
[SYCL] Isolate OpenCL types and enums (#6261) This PR populates PI enums and typedefs with values taken from the OpenCL equivalents; it also makes sure that all uses of the system OpenCL header `cl.h` are channelled through `include/CL/sycl/detail/cl.h`. Finally, `pi.h` and `pi.hpp` would only tap into the system `cl.h` for OpenCL backend (guarded by `PI_OPENCL_AVAILABLE` compiler definition), which allowed a removal of all OpenCL types and enums from other PI backends. Fixes: https://github.com/intel/llvm/issues/1265