Open
Description
The patch adding address space attributes to llvm-project repository doesn't support opencl_constant
attribute and using this attribute in DPC++ headers leads to the crash (here).
In particular this attribute is defined in https://github.com/intel/llvm/blob/sycl/sycl/include/CL/sycl/access/access.hpp#L116 and used:
- in internal template function specialization https://github.com/intel/llvm/blob/sycl/sycl/include/CL/sycl/access/access.hpp#L222-L225 (should be quite easy to remove)
- for
printf
extension https://github.com/intel/llvm/blob/sycl/sycl/include/CL/sycl/ONEAPI/experimental/builtins.hpp#L13-L17 and https://github.com/intel/llvm/blob/sycl/sycl/include/CL/sycl/ONEAPI/experimental/builtins.hpp#L62 (additional work is required to emit valid SPIR-V module).