aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/util
diff options
context:
space:
mode:
authorGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-23 22:59:00 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-23 22:59:00 -0700
commit03f219c4dcd68127eb417358c9c7216d7a273418 (patch)
tree48eb93cb716116cc2236ab287ddd707f6cb6c881 /tensorflow/core/util
parentfcd7840fbf49802be4bb7f67671465338b7b78a4 (diff)
parentd0f6f7733f46d973326187ee4eafb6b9e94b25a1 (diff)
Merge pull request #22352 from Intel-tensorflow:agramesh/disable_mkl_ml_only
PiperOrigin-RevId: 214215589
Diffstat (limited to 'tensorflow/core/util')
-rw-r--r--tensorflow/core/util/mkl_util.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/tensorflow/core/util/mkl_util.h b/tensorflow/core/util/mkl_util.h
index 680211edff..cf7ffd8149 100644
--- a/tensorflow/core/util/mkl_util.h
+++ b/tensorflow/core/util/mkl_util.h
@@ -34,9 +34,8 @@ 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)")
+#error \
+ "Compiling for INTEL MKL ML only is no longer supported.Please use MKL DNN (the default option for --config=mkl)"
#endif
#ifdef INTEL_MKL_ML_ONLY