llvm
llvm copied to clipboard
[SYCL] Generate device_aspect_macros.hpp
When adding a new aspect we always have to add the _SYCL_ALL_DEVICES_HAVE and _SYCL_ANY_DEVICES_HAVE macros manually. This patch adds a python script to generate the whole header automatically when compiling the project.