aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/cmake
diff options
context:
space:
mode:
authorGravatar Penporn Koanantakool <penporn@google.com>2018-10-05 15:43:32 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-10-05 15:52:06 -0700
commit5ac6e1e4b8318bad2f2bc7e5a08a58a7ed31e4c6 (patch)
treea51c8783214c7b3652cd38b93918de3fc79afd2c /tensorflow/contrib/cmake
parentc966b5eed60a570f2121cb84ddb4ece84c413719 (diff)
Removes the INTEL_MKL_ML_ONLY option from the CMakeLists build file since the main logic for INTEL_MKL_ML_ONLY is getting removed in PR#22783.
#22783 PiperOrigin-RevId: 215978712
Diffstat (limited to 'tensorflow/contrib/cmake')
-rw-r--r--tensorflow/contrib/cmake/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/tensorflow/contrib/cmake/CMakeLists.txt b/tensorflow/contrib/cmake/CMakeLists.txt
index f675c135f4..60f53b8b75 100644
--- a/tensorflow/contrib/cmake/CMakeLists.txt
+++ b/tensorflow/contrib/cmake/CMakeLists.txt
@@ -352,9 +352,7 @@ if (tensorflow_ENABLE_MKL_SUPPORT)
list(APPEND tensorflow_EXTERNAL_LIBRARIES ${mkldnn_STATIC_LIBRARIES})
list(APPEND tensorflow_EXTERNAL_DEPENDENCIES mkldnn_copy_shared_to_destination)
include_directories(${mkldnn_INCLUDE_DIRS})
- else (tensorflow_ENABLE_MKLDNN_SUPPORT)
- add_definitions(-DINTEL_MKL_ML_ONLY)
- endif()
+ endif(tensorflow_ENABLE_MKLDNN_SUPPORT)
endif (tensorflow_ENABLE_MKL_SUPPORT)
if (tensorflow_ENABLE_GPU)