Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/intgemm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2019-07-03 12:40:30 +0300
committerKenneth Heafield <github@kheafield.com>2019-07-03 12:40:30 +0300
commit372ac436374614a3218aa5ad8605289a2ac3d177 (patch)
tree105f774a4f7addb8f0169600ecd4e53d2d949f3d
parent15326a9f2af3961b91d77789bbaa430e2a78dc71 (diff)
Remove nonsensical anonymous namespace in header
-rw-r--r--vec_utils.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/vec_utils.h b/vec_utils.h
index b46aa90..e2049fb 100644
--- a/vec_utils.h
+++ b/vec_utils.h
@@ -68,7 +68,6 @@ INTGEMM_AVX512BW static inline __m512 floor_ff(__m512 a) {
* Calculate approximation of e^x using Taylor series and lookup table
*
*/
-namespace { // anonymous namespace
template <typename Register>
Register exp_approx_taylor(Register x) {
@@ -123,7 +122,6 @@ Register exp_approx_taylor(Register x) {
auto ea = i32gather_ps(EXP_LOOKUP + EXP_MAX, cvtps_epi32(a), 4);
return mul_ps(ea, result);
}
-} // anonymous namespace
template INTGEMM_AVX2 static __m256 exp_approx_taylor(__m256 x);
template INTGEMM_AVX512BW static __m512 exp_approx_taylor(__m512 x);