diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-02-12 12:13:12 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-02-13 11:20:49 +0000 |
commit | dc6d487dfe2917c1a44317bce967d368da04424a (patch) | |
tree | 65e27a2cfda686e8f21d14e05036afaec215ae3c /vespalib | |
parent | 0aaff2abd821f79e1ea0d01bfcfb6c5325ae9a93 (diff) |
Optimise the single query item dotproduct.
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/vespa/vespalib/hwaccelrated/avxprivate.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/hwaccelrated/avxprivate.hpp b/vespalib/src/vespa/vespalib/hwaccelrated/avxprivate.hpp index 87a043b3428..a04f136f814 100644 --- a/vespalib/src/vespa/vespalib/hwaccelrated/avxprivate.hpp +++ b/vespalib/src/vespa/vespalib/hwaccelrated/avxprivate.hpp @@ -59,7 +59,7 @@ T computeDotProduct(const T * af, const T * bf, size_t sz) } template <typename T, size_t VLEN, size_t VectorsPerChunk=4> -VESPA_DLL_LOCAL static T dotProductSelectAlignment(const T * af, const T * bf, size_t sz); +VESPA_DLL_LOCAL T dotProductSelectAlignment(const T * af, const T * bf, size_t sz); template <typename T, size_t VLEN, size_t VectorsPerChunk> T dotProductSelectAlignment(const T * af, const T * bf, size_t sz) |