diff options
author | AG Ramesh <ag.ramesh@intel.com> | 2018-08-13 18:10:11 -0700 |
---|---|---|
committer | AG Ramesh <ag.ramesh@intel.com> | 2018-08-13 18:10:11 -0700 |
commit | d680982f4cdf009ad3ef68abe5853448c37e1a83 (patch) | |
tree | 63a48e26ae2a4f7f80cb4d1e32334b9bc2b0c6cf /tensorflow/core/util | |
parent | 087190246b95dc4c188f630ca90880a12e39b557 (diff) |
Renamed INTEL_MKL_ML and added deprecated warning for INTEL_MKL_ML_ONLY
Diffstat (limited to 'tensorflow/core/util')
-rw-r--r-- | tensorflow/core/util/mkl_util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tensorflow/core/util/mkl_util.h b/tensorflow/core/util/mkl_util.h index 159a787d05..af0d0f3a32 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 as #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" |