Fix warning with OneAPI compiler and AVX512
[alexxy/gromacs.git] / src / gromacs / simd / impl_x86_avx_512 / impl_x86_avx_512_util_double.h
index 15b05d7848d469188e70492a1546bbb9c605f90f..dac65b097816f658f7b1b4b4ccca6b47c8215172 100644 (file)
@@ -60,7 +60,7 @@ namespace
 // shifting. Currently up to 8 is accelerated. Could be accelerated for any
 // number with a constexpr log2 function.
 template<int n>
-SimdDInt32 fastMultiply(SimdDInt32 x)
+static inline SimdDInt32 fastMultiply(SimdDInt32 x)
 {
     if (n == 2)
     {