diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl index 7116a82f32e..8bb4d916187 100755 --- a/tensorflow/workspace.bzl +++ b/tensorflow/workspace.bzl @@ -195,11 +195,11 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""): name = "eigen_archive", build_file = clean_dep("//third_party:eigen.BUILD"), patch_file = clean_dep("//third_party/eigen3:gpu_packet_math.patch"), - sha256 = "33664252213ec4583a6cc2332e75b78e6870855346b4e1063509e8839560dda2", - strip_prefix = "eigen-9254974115b6d4db305a1c7a2ef23ebc8a4a819a", + sha256 = "e81b91b22f1c7155deea4c457548ecdbd698cfed493444fceb7f9b5d797bb9a9", + strip_prefix = "eigen-b9362fb8f76fbba805b56afbc0f5de0a279631b5", urls = [ - "https://storage.googleapis.com/mirror.tensorflow.org/gitlab.com/libeigen/eigen/-/archive/9254974115b6d4db305a1c7a2ef23ebc8a4a819a/eigen-9254974115b6d4db305a1c7a2ef23ebc8a4a819a.tar.gz", - "https://gitlab.com/libeigen/eigen/-/archive/9254974115b6d4db305a1c7a2ef23ebc8a4a819a/eigen-9254974115b6d4db305a1c7a2ef23ebc8a4a819a.tar.gz", + "https://storage.googleapis.com/mirror.tensorflow.org/gitlab.com/libeigen/eigen/-/archive/b9362fb8f76fbba805b56afbc0f5de0a279631b5/eigen-b9362fb8f76fbba805b56afbc0f5de0a279631b5.tar.gz", + "https://gitlab.com/libeigen/eigen/-/archive/b9362fb8f76fbba805b56afbc0f5de0a279631b5/eigen-b9362fb8f76fbba805b56afbc0f5de0a279631b5.tar.gz", ], ) diff --git a/third_party/eigen3/gpu_packet_math.patch b/third_party/eigen3/gpu_packet_math.patch index 30a9c75f159..21e4f196cee 100644 --- a/third_party/eigen3/gpu_packet_math.patch +++ b/third_party/eigen3/gpu_packet_math.patch @@ -22,28 +22,3 @@ return res; } }; ---- a/Eigen/src/Core/MathFunctions.h 2020-01-09 14:22:30.000000000 -0800 -+++ b/Eigen/src/Core/MathFunctions.h 2020-01-09 16:35:29.000000000 -0800 -@@ -442,9 +442,11 @@ - { - EIGEN_STATIC_ASSERT((!NumTraits::IsComplex), NUMERIC_TYPE_MUST_BE_REAL) - #if EIGEN_HAS_CXX11_MATH -- EIGEN_USING_STD_MATH(rint); --#endif -+ EIGEN_USING_STD_MATH(rint); - return rint(x); -+#else -+ return ::rint(x); -+#endif - } - }; - -@@ -454,7 +456,7 @@ - EIGEN_DEVICE_FUNC - static inline float run(const float& x) - { -- return rintf(x); -+ return ::rintf(x); - } - }; - #endif