aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/util
diff options
context:
space:
mode:
authorGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-08-30 17:55:24 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-08-30 17:55:24 -0700
commit3a61d7f0cb8147b9b3a1cabd89bd957dce6db13d (patch)
tree3208ecce9ee3fcf45982fa0e3d38163eb62c91c8 /tensorflow/core/util
parent6fcb16a7235362ebd36c7f8824fb9b2731234d34 (diff)
parent8077ae1d1e8bfe6a5cc55df07ad82ae91f431d2e (diff)
Merge pull request #21593 from Intel-tensorflow:agramesh/MKL_ML_update
PiperOrigin-RevId: 211013884
Diffstat (limited to 'tensorflow/core/util')
-rw-r--r--tensorflow/core/util/mkl_util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tensorflow/core/util/mkl_util.h b/tensorflow/core/util/mkl_util.h
index 0a96a603d0..6474319370 100644
--- a/tensorflow/core/util/mkl_util.h
+++ b/tensorflow/core/util/mkl_util.h
@@ -33,6 +33,12 @@ limitations under the License.
#endif
#ifdef INTEL_MKL_ML_ONLY
+// Using pragma message since #warning doesn't work with all compilers
+#pragma message("Compiling for INTEL MKL ML only will be deprecated soon.")
+#pragma message("Please use MKL DNN (the default option for --config=mkl)")
+#endif
+
+#ifdef INTEL_MKL_ML_ONLY
#include "mkl_dnn.h"
#include "mkl_dnn_types.h"
#include "mkl_service.h"