Hey, working through building the latest tvm from source on Ubuntu. The current ubuntu apt-based install of mkl installs include files to /usr/include/mkl
and mkl libraries to /usr/lib/x86_64-linux-gnu/libmkl_core.so
.
My build currently fails if I enable mkl with this error:
[ 1%] Building CXX object CMakeFiles/tvm_runtime.dir/src/runtime/contrib/cblas/cblas.cc.o
/home/chrisn/dev/tech.all/tvm-clj/tvm/src/runtime/contrib/cblas/cblas.cc:31:10: fatal error: mkl_cblas.h: No such file or directory
I believe this is because there is an assumption in the blas build code that mkl is installed in a particular way from the intel source package.
On my system, mkl headers are installed to /usr/include/mkl
and mkl binaries are installed to /usr/lib/x86_64-linux-gnu/
when using apt.
Is there interest in supporting this pathway?