NexGenAnalytics / kokkos-kernels

Kokkos C++ Performance Portability Programming EcoSystem: Math Kernels - Provides BLAS, Sparse BLAS and Graph Kernels
Other
0 stars 0 forks source link

refactor CMake code for finding MKL #8

Open fnrizzi opened 1 year ago

fnrizzi commented 1 year ago

Similarly to #7 , the logic for the Intel library MKL needs to be update in the build system to detect the new oneMKL library properly and manage its targets to enable functionalities for both CPU and GPU.

mperrinel commented 1 year ago

This comment is in progress. Its aims to summarize a bit of MKL history and current status. The idea is to understand how MKL is currently included in the project and how we could improve that:

Links: From the doc: https://github.com/trilinos/Trilinos/blob/master/cmake/TPLs/FindTPLMKL.cmake :

From the doc https://www.intel.com/content/www/us/en/develop/documentation/onemkl-linux-developer-guide/top/getting-started/cmake-config-for-onemkl.html

From the doc https://www.intel.com/content/www/us/en/developer/articles/guide/intel-math-kernel-library-intel-mkl-2019-install-guide.html?wapkw=one%20mkl

From the doc https://en.wikipedia.org/wiki/Math_Kernel_Library :

Recommended way to get MKL on linux ?