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

Commit

Permalink
[mkldnn-v1.0] Update enabling flag for MKL dropout (#16433)
Browse files Browse the repository at this point in the history
* use MSHADOW_USE_MKL to determine whther to use mkl optimized dropout

* rebase code
  • Loading branch information
wuxun-zhang authored and pengzhao-intel committed Oct 13, 2019
1 parent 2b363a0 commit 9f77575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operator/nn/dropout-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include "../random/sampler.h"
#include "../tensor/elemwise_binary_broadcast_op.h"

#if defined(USE_MKL) && defined(_OPENMP) && !defined(__CUDACC__)
#if (MSHADOW_USE_MKL == 1) && defined(_OPENMP) && !defined(__CUDACC__)
#define MXNET_USE_MKL_DROPOUT 1
#endif

Expand Down

0 comments on commit 9f77575

Please sign in to comment.