mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
add missing function HSum(a,b) for SIMD<double,1>
This commit is contained in:
parent
f92bbbf805
commit
9247c89fd7
@ -248,6 +248,11 @@ using std::fabs;
|
||||
return sd.Data();
|
||||
}
|
||||
|
||||
inline auto HSum (SIMD<double,1> sd1, SIMD<double,1> sd2)
|
||||
{
|
||||
return std::make_tuple(sd1.Data(), sd2.Data());
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// AVX - Simd width 4
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user