biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix warning with OneAPI compiler and AVX512
[alexxy/gromacs.git]
/
src
/
gromacs
/
simd
/
impl_x86_avx_512
/
impl_x86_avx_512_util_float.h
diff --git
a/src/gromacs/simd/impl_x86_avx_512/impl_x86_avx_512_util_float.h
b/src/gromacs/simd/impl_x86_avx_512/impl_x86_avx_512_util_float.h
index 99daabee6fcc265daebe4d2c7fa4b3a7850b1695..8c3f9621a1f123ec28bf99a5a872deb34f620223 100644
(file)
--- a/
src/gromacs/simd/impl_x86_avx_512/impl_x86_avx_512_util_float.h
+++ b/
src/gromacs/simd/impl_x86_avx_512/impl_x86_avx_512_util_float.h
@@
-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>
-SimdFInt32 fastMultiply(SimdFInt32 x)
+
static inline
SimdFInt32 fastMultiply(SimdFInt32 x)
{
if (n == 2)
{