Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
add README
Browse files Browse the repository at this point in the history
  • Loading branch information
yandai committed Oct 8, 2016
1 parent d7ad65b commit 7b96e18
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions src/operator/mkldnn/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# MKLDNN PLUGIN

MKLDNN is one intel released library to accelerate Deep Neural Network (DNN) applications on Intel architecture.
This README shows users how to setup mxnet with MKLDNN accerlation.

## Prepare MKLDNN Minimal Library
```
cd <MXNET ROOTDIR>
mkdir -p ./external/mkl
wget https://github.com/intel/caffe/releases/download/self_containted_MKLGOLD/mklml_lnx_2017.0.0.20160801.tgz
mv mklml_lnx_2017.0.0.20160801.tgz ./external/mkl
cd external/mkl
tar zxvf mklml_lnx_2017.0.0.20160801.tgz
cd <MXNET ROOTDIR>
```

## modify config.mk
```
USE_MKLDNN = 1 # set USE_MKLDNN on
MKLDNN_ROOT = <MXNET ROOTDIR>/external/mkl/mklml_lnx_2017.0.0.20160801 # set MKLDNN ROOT PATH
```

## Update LD_LIBRARY_PATH
```
export LD_LIBRARY_PATH=<MXNET ROOTDIR>/external/mkl/mklml_lnx_2017.0.0.20160801/lib:$LD_LIBRARY_PATH
```

## build mxnet
```
make -j8
```

0 comments on commit 7b96e18

Please sign in to comment.