Intel(R) Math Kernel Library for Deep Neural Networks (Intel(R) MKL-DNN) includes several header files providing C and C++ APIs for the functionality and one or several libraries depending on how Intel MKL-DNN was built.
File | Description |
---|---|
include/mkldnn.h | C header |
include/mkldnn.hpp | C++ header |
include/mkldnn_types.h | Auxiliary C header |
include/mkldnn_config.h | Auxiliary C header |
include/mkldnn_version.h | C header with version information |
File | Description |
---|---|
lib/libmkldnn.so | Intel MKL-DNN dynamic library |
lib/libmkldnn.a | Intel MKL-DNN static library (if built with MKLDNN_LIBRARY_TYPE=STATIC ) |
File | Description |
---|---|
lib/libmkldnn.dylib | Intel MKL-DNN dynamic library |
lib/libmkldnn.a | Intel MKL-DNN static library (if built with MKLDNN_LIBRARY_TYPE=STATIC ) |
File | Description |
---|---|
bin\libmkldnn.dll | Intel MKL-DNN dynamic library |
lib\libmkldnn.lib | Intel MKL-DNN import library |
The examples below assume that Intel MKL-DNN is installed in the directory defined in the MKLDNNROOT
environment variable.
LD_LIBRARY_PATH
(Linux) or DYLD_LIBRARY_PATH
(macOS) environment variable or the rpath
mechanism.To link the application from the command line, set up the LIB
and INCLUDE
environment variables to point to the locations of the Intel MKL-DNN headers and libraries.
Refer to the Microsoft Visual Studio documentation on linking the application using MSVS solutions.
PATH
environment variable.