Update Eigen to commit 049af2f56331.
This update fixes few TensorChipping and TensorSlicing regressions. PiperOrigin-RevId: 258238409
This commit is contained in:
parent
49c3f30a78
commit
79e6d267c2
@ -167,11 +167,11 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
|
|||||||
name = "eigen_archive",
|
name = "eigen_archive",
|
||||||
build_file = clean_dep("//third_party:eigen.BUILD"),
|
build_file = clean_dep("//third_party:eigen.BUILD"),
|
||||||
patch_file = clean_dep("//third_party/eigen3:gpu_packet_math.patch"),
|
patch_file = clean_dep("//third_party/eigen3:gpu_packet_math.patch"),
|
||||||
sha256 = "227643be1fc6944378419d68ed468b3c3540d642fe131642e76da9c17d90c5bd",
|
sha256 = "f3d69ac773ecaf3602cb940040390d4e71a501bb145ca9e01ce5464cf6d4eb68",
|
||||||
strip_prefix = "eigen-eigen-6f9f3b46d9e1",
|
strip_prefix = "eigen-eigen-049af2f56331",
|
||||||
urls = [
|
urls = [
|
||||||
"http://mirror.tensorflow.org/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/6f9f3b46d9e1.tar.gz",
|
"https://bitbucket.org/eigen/eigen/get/049af2f56331.tar.gz",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
11
third_party/eigen3/gpu_packet_math.patch
vendored
11
third_party/eigen3/gpu_packet_math.patch
vendored
@ -22,14 +22,3 @@
|
|||||||
return res;
|
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);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user