aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/kernels/mkl_matmul_op.cc
diff options
context:
space:
mode:
authorGravatar AG Ramesh <ag.ramesh@intel.com>2018-06-08 15:06:47 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-06-08 15:09:15 -0700
commitdb717a72c20ab37974ec9076c8e406345c8776be (patch)
treec66d715479275dbf3cb51f553b44f202777b7643 /tensorflow/core/kernels/mkl_matmul_op.cc
parentbc65583b2b4e3f48b6a724832ef96ab176666d33 (diff)
[INTEL MKL] Enable compilation of TF without MKL ML dependency
Closes #19808. PiperOrigin-RevId: 199857219
Diffstat (limited to 'tensorflow/core/kernels/mkl_matmul_op.cc')
-rw-r--r--tensorflow/core/kernels/mkl_matmul_op.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/kernels/mkl_matmul_op.cc b/tensorflow/core/kernels/mkl_matmul_op.cc
index dfa6cecc9b..62c0404891 100644
--- a/tensorflow/core/kernels/mkl_matmul_op.cc
+++ b/tensorflow/core/kernels/mkl_matmul_op.cc
@@ -23,7 +23,7 @@ limitations under the License.
// and when it is undefined at build time, this file becomes an empty
// compilation unit
-#if defined(INTEL_MKL)
+#if defined(INTEL_MKL) && !defined(DO_NOT_USE_ML)
#include "mkl_cblas.h"
#include "tensorflow/core/framework/op.h"