mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
had removed too much
This commit is contained in:
parent
32f1b6177e
commit
0c5e8c8d70
@ -36,15 +36,16 @@
|
|||||||
|
|
||||||
namespace ngcore
|
namespace ngcore
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
#ifndef __CUDA_ARCH__
|
#ifndef __CUDA_ARCH__
|
||||||
#ifdef NETGEN_ARCH_AMD64
|
#ifdef NETGEN_ARCH_AMD64
|
||||||
|
/*
|
||||||
NETGEN_INLINE auto HSum (SIMD<double,2> v1, SIMD<double,2> v2, SIMD<double,2> v3, SIMD<double,2> v4)
|
NETGEN_INLINE auto HSum (SIMD<double,2> v1, SIMD<double,2> v2, SIMD<double,2> v3, SIMD<double,2> v4)
|
||||||
{
|
{
|
||||||
SIMD<double,2> hsum1 = my_mm_hadd_pd (v1.Data(), v2.Data());
|
SIMD<double,2> hsum1 = my_mm_hadd_pd (v1.Data(), v2.Data());
|
||||||
SIMD<double,2> hsum2 = my_mm_hadd_pd (v3.Data(), v4.Data());
|
SIMD<double,2> hsum2 = my_mm_hadd_pd (v3.Data(), v4.Data());
|
||||||
return SIMD<double,4> (hsum1, hsum2);
|
return SIMD<double,4> (hsum1, hsum2);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
NETGEN_INLINE auto GetMaskFromBits( unsigned int i )
|
NETGEN_INLINE auto GetMaskFromBits( unsigned int i )
|
||||||
{
|
{
|
||||||
@ -52,7 +53,6 @@ namespace ngcore
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif // __CUDA_ARCH__
|
#endif // __CUDA_ARCH__
|
||||||
*/
|
|
||||||
|
|
||||||
NETGEN_INLINE void SIMDTranspose (SIMD<double,4> a1, SIMD<double,4> a2, SIMD <double,4> a3, SIMD<double,4> a4,
|
NETGEN_INLINE void SIMDTranspose (SIMD<double,4> a1, SIMD<double,4> a2, SIMD <double,4> a3, SIMD<double,4> a4,
|
||||||
SIMD<double,4> & b1, SIMD<double,4> & b2, SIMD<double,4> & b3, SIMD<double,4> & b4)
|
SIMD<double,4> & b1, SIMD<double,4> & b2, SIMD<double,4> & b3, SIMD<double,4> & b4)
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
braucht man nicht mehr
|
||||||
|
|
||||||
#ifndef FILE_AUTOPTR
|
#ifndef FILE_AUTOPTR
|
||||||
#define FILE_AUTOPTR
|
#define FILE_AUTOPTR
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ namespace netgen
|
|||||||
|
|
||||||
#include "seti.hpp"
|
#include "seti.hpp"
|
||||||
#include "optmem.hpp"
|
#include "optmem.hpp"
|
||||||
#include "autoptr.hpp"
|
// #include "autoptr.hpp"
|
||||||
#include "sort.hpp"
|
#include "sort.hpp"
|
||||||
#include "stack.hpp"
|
#include "stack.hpp"
|
||||||
#include "mystring.hpp"
|
#include "mystring.hpp"
|
||||||
|
Loading…
Reference in New Issue
Block a user