Skip to content

Commit

Permalink
Switched to the latest version of Eigen that provides significant per…
Browse files Browse the repository at this point in the history
…formance

improvements for fp16
Added SpecialFunctions to the list of eigen headers TensorFlow depends on
Change: 127264575
  • Loading branch information
benoitsteiner authored and tensorflower-gardener committed Jul 13, 2016
1 parent 0147623 commit 10211a6
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions eigen.BUILD
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package(default_visibility = ["//visibility:public"])

archive_dir = "eigen-eigen-334b1d428283"
archive_dir = "eigen-eigen-b4fa9622b809"
cc_library(
name = "eigen",
hdrs = glob([archive_dir+"/**/*.h", archive_dir+"/unsupported/Eigen/CXX11/*", archive_dir+"/Eigen/*"]),
hdrs = glob([archive_dir+"/**/*.h", archive_dir+"/unsupported/Eigen/*", archive_dir+"/unsupported/Eigen/CXX11/*", archive_dir+"/Eigen/*"]),
includes = [ archive_dir ],
visibility = ["//visibility:public"],
)
4 changes: 2 additions & 2 deletions tensorflow/contrib/cmake/external/eigen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

include (ExternalProject)

set(eigen_archive_hash "802d984ade26")
set(eigen_archive_hash "b4fa9622b809")

set(eigen_INCLUDE_DIRS
${CMAKE_CURRENT_BINARY_DIR}
Expand All @@ -16,7 +16,7 @@ set(eigen_INCLUDE_DIRS
${tensorflow_source_dir}/third_party/eigen3
)
set(eigen_URL https://bitbucket.org/eigen/eigen/get/${eigen_archive_hash}.tar.gz)
set(eigen_HASH SHA256=1499997676bd9006082950a761b88d5c48554fd550747763b2b34951da29a2e8)
set(eigen_HASH SHA256=2862840c2de9c0473a4ef20f8678949ae89ab25965352ee53329e63ba46cec62)
set(eigen_BUILD ${CMAKE_CURRENT_BINARY_DIR}/eigen/src/eigen)
set(eigen_INSTALL ${CMAKE_CURRENT_BINARY_DIR}/eigen/install)

Expand Down
4 changes: 2 additions & 2 deletions tensorflow/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
def tf_workspace(path_prefix = "", tf_repo_name = ""):
native.new_http_archive(
name = "eigen_archive",
url = "https://bitbucket.org/eigen/eigen/get/334b1d428283.tar.gz",
sha256 = "6d5efd02c7c11fbb9d02df4f0b64f22ecbd348e7549f8a83c13fb4d8d9e19d4b",
url = "https://bitbucket.org/eigen/eigen/get/b4fa9622b809.tar.gz",
sha256 = "2862840c2de9c0473a4ef20f8678949ae89ab25965352ee53329e63ba46cec62",
build_file = path_prefix + "eigen.BUILD",
)

Expand Down
1 change: 1 addition & 0 deletions third_party/eigen3/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ cc_library(
"Eigen/Cholesky",
"Eigen/Eigenvalues",
"Eigen/QR",
"unsupported/Eigen/SpecialFunctions",
"unsupported/Eigen/CXX11/Tensor",
"unsupported/Eigen/CXX11/FixedPoint",
"unsupported/Eigen/CXX11/src/FixedPoint/*.h",
Expand Down
2 changes: 1 addition & 1 deletion third_party/eigen3/Eigen/Cholesky
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#include "eigen-eigen-334b1d428283/Eigen/Cholesky"
#include "eigen-eigen-b4fa9622b809/Eigen/Cholesky"
2 changes: 1 addition & 1 deletion third_party/eigen3/Eigen/Core
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#include "eigen-eigen-334b1d428283/Eigen/Core"
#include "eigen-eigen-b4fa9622b809/Eigen/Core"
2 changes: 1 addition & 1 deletion third_party/eigen3/Eigen/Eigenvalues
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#include "eigen-eigen-334b1d428283/Eigen/Eigenvalues"
#include "eigen-eigen-b4fa9622b809/Eigen/Eigenvalues"
2 changes: 1 addition & 1 deletion third_party/eigen3/Eigen/LU
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#include "eigen-eigen-334b1d428283/Eigen/LU"
#include "eigen-eigen-b4fa9622b809/Eigen/LU"
2 changes: 1 addition & 1 deletion third_party/eigen3/Eigen/QR
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#include "eigen-eigen-334b1d428283/Eigen/QR"
#include "eigen-eigen-b4fa9622b809/Eigen/QR"
2 changes: 1 addition & 1 deletion third_party/eigen3/unsupported/Eigen/CXX11/Tensor
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#include "eigen-eigen-334b1d428283/unsupported/Eigen/CXX11/Tensor"
#include "eigen-eigen-b4fa9622b809/unsupported/Eigen/CXX11/Tensor"
1 change: 1 addition & 0 deletions third_party/eigen3/unsupported/Eigen/SpecialFunctions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "eigen-eigen-b4fa9622b809/unsupported/Eigen/SpecialFunctions"

0 comments on commit 10211a6

Please sign in to comment.