I have started to used oneMKL in VS 2019. I changed the setting in solution properties of Use oneMKL to Parallel. However when I #include "mkl_sycl.hpp", it says cannot open source file "mkl_sycl.hpp".
Kindly specify your oneAPI toolkit version, OS, and VS19 version. Please note that some of the header files have been moved (to a different directory) or renamed in the latest oneAPI release.
Give it a try with the latest MKL code samples located under:
You may rely on the Intel MKL link line advisor tool to check what all libraries are recommended for your application:
To set MKL mode to parallel:
oneMKL may also require additional library dependencies for your application to run. Kindly include these additional dependencies as suggested by the link line advisor tool.
To include additional dependencies:
Thanks for the confirmation. Intel will no longer monitor this thread. Further discussions on this thread will be considered community only.