DPC++ daily 2022-12-22
Pre-release
Pre-release
·
114692 commits
to sycl
since this release
[SYCL] Update OpenCL-ICD dependency to let it build with MinGW (#7864) MinGW doesn't provide 'windows.management.deployment.h', which made compilation much more difficult. See upstream commit: https://github.com/KhronosGroup/OpenCL-ICD-Loader/commit/4aa683775c4ee55594196c79def7a75103d75e4c This patch has been split from https://github.com/intel/llvm/pull/7859 after a discusion: >>Could you please clarify why uplift of ocl loader version is required? > The reason is this upstream commit: https://github.com/KhronosGroup/OpenCL-ICD-Loader/commit/4aa683775c4ee55594196c79def7a75103d75e4c >It refactors 'apppackage' driver loader from WinRT API to raw WinAPI. The problem was that this specific WinRT API was not present in MinGW, so it would need extra work to make it compile. Upstream update just lets avoiding this extra work. >I took the tip of the master for an update, but I believe any commit starting with https://github.com/KhronosGroup/OpenCL-ICD-Loader/commit/4aa683775c4ee55594196c79def7a75103d75e4c should be enough to fix the issue.