aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
authorGravatar Hans Pabst <hans.pabst@intel.com>2017-01-20 00:04:22 +0100
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2017-02-01 12:34:34 -0800
commit723e85fc3649de276c8df75760964708c3e6c091 (patch)
tree8b8b7668f99bf91c34c8682fbb4144e33b002c3f /third_party
parente60e72435f0dfebe6424ab4c525523486006d47a (diff)
Fixed libxsmm_config_arguments in libxsmm.BUILD (#7)
* Fixed libxsmm_config_arguments: Fixed the incorrect value supposed to trigger auto-prefetch. Fixed the 0-threshold, which is now accounted for in LIBXSMM (by just populating the default threshold). The problem arised from the assumption "threshold: fallback to BLAS if n*m*k above this", which is wrong (the threshold populates an upper bound until which JIT code is generated). The previous configuration perhaps caused all sorts of issues due to other values derived from the 0-threshold. Note, explicitly JIT'ting code is/was never subject to a threshold.
Diffstat (limited to 'third_party')
-rw-r--r--third_party/libxsmm.BUILD16
1 files changed, 8 insertions, 8 deletions
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)