CHIP-SPV / chipStar

chipStar is a tool for compiling and running HIP/CUDA on SPIR-V via OpenCL or Level Zero APIs.
Other
157 stars 27 forks source link

Compilation issue for interop samples #866

Closed pvelesko closed 3 weeks ago

pvelesko commented 1 month ago
pvelesko@iris08:~/chipStar/main/build> cd /home/pvelesko/chipStar/main/build/samples/hip_sycl_interop/onemkl_gemm_wrapper && /soft/compilers/oneapi/2024.04.15.001/oneapi/compiler/latest/bin/icpx -Donemkl_gemm_wrapper_EXPORTS -I/home/pvelesko/install/llvm/18.0/include -I/home/pvelesko/chipStar/main/include -I/home/pvelesko/chipStar/main/CHIP -I/home/pvelesko/chipStar/main/PUBLIC -I/soft/libraries/intel-gpu-umd/stable_736_25_20231031/driver/lib64/../include/level_zero -I/soft/compilers/oneapi/2024.04.15.001/oneapi/mkl/latest/include -I/home/pvelesko/chipStar/main/samples/hip_sycl_interop/onemkl_gemm_wrapper/.. -Wno-deprecated-declarations -O3 -DNDEBUG -std=c++17 -fPIC -Wno-format-extra-args -mf16c -DMKL_ILP64 -fiopenmp -fopenmp-targets=spir64 -MD -MT samples/hip_sycl_interop/onemkl_gemm_wrapper/CMakeFiles/onemkl_gemm_wrapper.dir/onemkl_gemm_wrapper.cpp.o -MF CMakeFiles/onemkl_gemm_wrapper.dir/onemkl_gemm_wrapper.cpp.o.d -o CMakeFiles/onemkl_gemm_wrapper.dir/onemkl_gemm_wrapper.cpp.o -c /home/pvelesko/chipStar/main/samples/hip_sycl_interop/onemkl_gemm_wrapper/onemkl_gemm_wrapper.cpp
In file included from /home/pvelesko/chipStar/main/samples/hip_sycl_interop/onemkl_gemm_wrapper/onemkl_gemm_wrapper.cpp:24:
In file included from /soft/compilers/oneapi/2024.04.15.001/oneapi/mkl/latest/include/oneapi/mkl.hpp:25:
In file included from /soft/compilers/oneapi/2024.04.15.001/oneapi/mkl/latest/include/oneapi/mkl/types.hpp:22:
In file included from /soft/compilers/oneapi/2024.04.15.001/oneapi/mkl/latest/include/oneapi/mkl/bfloat16.hpp:18:
In file included from /soft/compilers/oneapi/2024.04.15.001/oneapi/compiler/latest/include/sycl/sycl.hpp:11:
In file included from /soft/compilers/oneapi/2024.04.15.001/oneapi/compiler/latest/include/sycl/accessor.hpp:14:
/soft/compilers/oneapi/2024.04.15.001/oneapi/compiler/latest/include/sycl/atomic.hpp:11:10: error: 'CL/__spirv/spirv_types.hpp' file not found with <angled> include; use "quotes" instead
   11 | #include <CL/__spirv/spirv_types.hpp>         // for Scope, MemorySemanticsMask