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".
Link Copied
Hi,
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:
oneAPI_root/mkl/latest/examples/examples_sycl.zip
You may rely on the Intel MKL link line advisor tool to check what all libraries are recommended for your application:
Thanks,
Rahul
How do I use the link line? Is it for the CLI execution?
Also, how do I use the oneMKL in parallel mode in VS 2019? My Version for VS 2019 is 16.8.3.
Hi,
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,
Rahul
Hi,
Thanks for the confirmation. Intel will no longer monitor this thread. Further discussions on this thread will be considered community only.
Regards,
Rahul
For more complete information about compiler optimizations, see our Optimization Notice.