aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <bsteiner@google.com>2017-02-08 09:25:09 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-02-08 09:50:05 -0800
commit639b4e71f532761a4840b1cdbaea55ad0917c75b (patch)
tree5116415b1d9ff82f054dd4feeadd81cb833d6435 /third_party
parent15ff7b702788c0cf75bb8d5ce090f06490098cf7 (diff)
Merge changes from github.
Change: 146918929
Diffstat (limited to 'third_party')
-rw-r--r--third_party/eigen3/BUILD7
-rw-r--r--third_party/libxsmm.BUILD16
2 files changed, 15 insertions, 8 deletions
diff --git a/third_party/eigen3/BUILD b/third_party/eigen3/BUILD
index a921fa0228..13f62ebb77 100644
--- a/third_party/eigen3/BUILD
+++ b/third_party/eigen3/BUILD
@@ -11,6 +11,10 @@ licenses([
exports_files(["LICENSE"])
+# INTEL_MKL start
+load("//tensorflow:tensorflow.bzl", "if_mkl")
+# INTEL_MKL end
+
cc_library(
name = "eigen3",
hdrs = glob(["unsupported/Eigen/CXX11/src/FixedPoint/*.h"]) + [
@@ -25,7 +29,10 @@ cc_library(
"unsupported/Eigen/CXX11/Tensor",
"unsupported/Eigen/CXX11/FixedPoint",
],
+ # INTEL_MKL start
+ includes = if_mkl(["./mkl_include"]),
visibility = ["//visibility:public"],
+ # INTEL_MKL end
deps = [
"@eigen_archive//:eigen",
"@local_config_sycl//sycl:sycl",
diff --git a/third_party/libxsmm.BUILD b/third_party/libxsmm.BUILD
index a85a2013b6..037009c072 100644
--- a/third_party/libxsmm.BUILD
+++ b/third_party/libxsmm.BUILD
@@ -11,18 +11,18 @@ exports_files(["LICENSE"])
libxsmm_interface_arguments = "0 1"
# Arguments to ./scripts/libxsmm_config.py, see that file for detailed description.
-# ilp64: no
-# big: no
-# offload: no
+# ilp64: 0 (no)
+# big: 0 (no)
+# offload: 0 (no)
# alignment [b]
-# prefetch: 1 (auto)
-# threshold: fallback to BLAS if n*m*k above this
+# prefetch: -1 (auto)
+# threshold: 0 (auto)
# synchronize: yes
-# jit: yes
-# flags
+# jit: 1 (yes)
+# flags: 0 (none)
# alpha = 1
# beta = 1
-libxsmm_config_arguments = "0 0 0 64 1 0 1 1 0 1 1"
+libxsmm_config_arguments = "0 0 0 64 -1 0 1 1 0 1 1"
# Arguments to ./scripts/libxsmm_dispatch.py, see that file for detailed description.
# (dummy argument)