CHIP-SPV / chipStar

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

fatal error: 'sycl/sycl.hpp' when using latest install of oneapi #821

Closed pvelesko closed 6 months ago

pvelesko commented 6 months ago
In file included from /home/pvelesko/space/chipStar/hip-blas-check/samples/hip_sycl_interop/onemkl_gemm_wrapper/onemkl_gemm_wrapper.cpp:24:
In file included from /opt/intel/oneapi/mkl/2024.1/include/oneapi/mkl.hpp:25:
In file included from /opt/intel/oneapi/mkl/2024.1/include/oneapi/mkl/types.hpp:22:
/opt/intel/oneapi/mkl/2024.1/include/oneapi/mkl/bfloat16.hpp:18:10: fatal error: 'sycl/sycl.hpp' file not found
   18 | #include <sycl/sycl.hpp>
      |          ^~~~~~~~~~~~~~~
In file included from /home/pvelesko/space/chipStar/hip-blas-check/samples/hip_sycl_interop_no_buffers/onemkl_gemm_wrapper_no_buffers/onemkl_gemm_wrapper.cpp:24:
In file included from /opt/intel/oneapi/mkl/2024.1/include/oneapi/mkl.hpp:25:
In file included from /opt/intel/oneapi/mkl/2024.1/include/oneapi/mkl/types.hpp:22:
/opt/intel/oneapi/mkl/2024.1/include/oneapi/mkl/bfloat16.hpp:18:10: fatal error: 'sycl/sycl.hpp' file not found
   18 | #include <sycl/sycl.hpp>
pvelesko commented 6 months ago

It seems that modules generated by modulefiles-setup.sh no longer work and I have to use setvars.sh

Are modules no longer supported by oneapi? @pengtu @Kerilk

pvelesko commented 6 months ago

Closing here since not related to chipStar