build oneapi interfaces error with oneAPI ToolKit 2022.1
Describe the bug build oneapi interfaces error with oneAPI ToolKit 2022.1
To Reproduce Install oneAPI 2022.1 Base TookKit & HPC ToolKit git pull the latest master code and did the following:
$ cd $ONEDAL_SOURCE_HOME
$ dev/download_micromkl.sh
$ dev/download_tbb.sh
$ source /opt/intel/oneapi/compiler/latest/env/vars.sh
$ export CPATH=$JAVA_HOME/include:$JAVA_HOME/include/linux:$CPATH
$ make -j daal oneapi PLAT=lnx32e
Expected behavior Build OK
Output/Screenshots cpp/oneapi/dal/backend/primitives/blas/gemm_dpc.cpp:18:10: fatal error: 'mkl_dal_sycl.hpp' file not found #include <mkl_dal_sycl.hpp> ^~~~~~~~~~~~~~~~~~ Detailed log: build.log
Environment:
- OS: Ubuntu 18.04
- Compiler: icc & dpcpp in oneAPI ToolKit 2022.1
Could you run "dpcpp --version"?
The problem was reproduced.
There is a workaround for that (ONEDAL_SOURCE_HOME is location of local repository): export CPATH=$ONEDAL_SOURCE_HOME/__deps/mklgpufpk/lnx/include:$CPATH
addressed in recent master