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

Commit

Permalink
log if flag is off
Browse files Browse the repository at this point in the history
  • Loading branch information
azai91 committed Aug 15, 2018
1 parent 06b2a5c commit a3c94fd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/executor/attach_op_execs_pass.cc
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,11 @@ void CreateOpExecs(const Graph& g, OpExecVector* p_ret, size_t i) {
const auto& vctx = g.GetAttr<ContextVector>("context");
const auto& dispatch_modes = g.GetAttr<DispatchModeVector>("dispatch_mode");

#if MXNET_USE_MKLDNN == 1
if (!MKLDNNEnvSet()) common::LogOnce("MXNET_MKLDNN_ENABLED flag is off");
#endif


// get the graph
const auto& idx = g.indexed_graph();
OpExecVector& ret = *p_ret;
Expand Down

0 comments on commit a3c94fd

Please sign in to comment.