diff options
author | AG Ramesh <ag.ramesh@intel.com> | 2018-06-08 15:06:47 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-06-08 15:09:15 -0700 |
commit | db717a72c20ab37974ec9076c8e406345c8776be (patch) | |
tree | c66d715479275dbf3cb51f553b44f202777b7643 /tensorflow/core/kernels/mkl_identity_op.cc | |
parent | bc65583b2b4e3f48b6a724832ef96ab176666d33 (diff) |
[INTEL MKL] Enable compilation of TF without MKL ML dependency
Closes #19808.
PiperOrigin-RevId: 199857219
Diffstat (limited to 'tensorflow/core/kernels/mkl_identity_op.cc')
-rw-r--r-- | tensorflow/core/kernels/mkl_identity_op.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/core/kernels/mkl_identity_op.cc b/tensorflow/core/kernels/mkl_identity_op.cc index 6c027f8e72..b02cc5384c 100644 --- a/tensorflow/core/kernels/mkl_identity_op.cc +++ b/tensorflow/core/kernels/mkl_identity_op.cc @@ -24,8 +24,10 @@ limitations under the License. #include "tensorflow/core/lib/core/status.h" #include "tensorflow/core/platform/logging.h" +#ifdef INTEL_MKL_ML #include "mkl_dnn.h" #include "mkl_dnn_types.h" +#endif #include "tensorflow/core/util/mkl_util.h" #ifndef INTEL_MKL_ML |