aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/util
diff options
context:
space:
mode:
authorGravatar AG Ramesh <ag.ramesh@intel.com>2018-09-18 10:51:19 -0700
committerGravatar AG Ramesh <ag.ramesh@intel.com>2018-09-18 10:51:19 -0700
commitd0f6f7733f46d973326187ee4eafb6b9e94b25a1 (patch)
tree6fe3bbfb76a3ca2a2afde091818526dc193410e7 /tensorflow/core/util
parent71fab28dc4741dedf13fea732f6b134608719bc7 (diff)
Adding #error when compiling for MKL ML Only, this has been defeatured
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