had removed too much

This commit is contained in:
Joachim Schoeberl 2023-03-12 22:24:21 +01:00
parent 32f1b6177e
commit 0c5e8c8d70
3 changed files with 6 additions and 4 deletions

View File

@ -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)

View File

@ -1,3 +1,5 @@
braucht man nicht mehr
#ifndef FILE_AUTOPTR #ifndef FILE_AUTOPTR
#define FILE_AUTOPTR #define FILE_AUTOPTR

View File

@ -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"