Update Eigen to commit 049af2f56331.

This update fixes few TensorChipping and TensorSlicing regressions.

PiperOrigin-RevId: 258238409
This commit is contained in:
Eugene Zhulenev 2019-07-15 14:30:54 -07:00 committed by TensorFlower Gardener
parent 49c3f30a78
commit 79e6d267c2
2 changed files with 4 additions and 15 deletions

View File

@ -167,11 +167,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 = "227643be1fc6944378419d68ed468b3c3540d642fe131642e76da9c17d90c5bd",
strip_prefix = "eigen-eigen-6f9f3b46d9e1",
sha256 = "f3d69ac773ecaf3602cb940040390d4e71a501bb145ca9e01ce5464cf6d4eb68",
strip_prefix = "eigen-eigen-049af2f56331",
urls = [
"http://mirror.tensorflow.org/bitbucket.org/eigen/eigen/get/6f9f3b46d9e1.tar.gz",
"https://bitbucket.org/eigen/eigen/get/6f9f3b46d9e1.tar.gz",
"http://mirror.tensorflow.org/bitbucket.org/eigen/eigen/get/049af2f56331.tar.gz",
"https://bitbucket.org/eigen/eigen/get/049af2f56331.tar.gz",
],
)

View File

@ -22,14 +22,3 @@
return res;
}
};
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h
@@ -23,7 +23,7 @@
};
template <typename T>
-EIGEN_STRONG_INLINE T* constCast(const T* data) {
+EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T* constCast(const T* data) {
return const_cast<T*>(data);
}