mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 13:30:34 +05:00
use SIMD also for AVX (not only AVX2)
This commit is contained in:
parent
6c0c30104a
commit
5448157842
@ -52,7 +52,7 @@ namespace netgen
|
||||
static constexpr type value = type();
|
||||
};
|
||||
|
||||
#ifdef __AVX2__
|
||||
#ifdef __AVX__
|
||||
|
||||
template<>
|
||||
class alignas(32) SIMD<double>
|
||||
|
@ -140,6 +140,7 @@ DLL_HEADER void ExportNetgenMeshing()
|
||||
tmp->SetIndex(index);
|
||||
return tmp;
|
||||
}
|
||||
throw NgException ("cannot create element");
|
||||
}),
|
||||
bp::default_call_policies(), // need it to use arguments
|
||||
(bp::arg("index")=1,bp::arg("vertices"))),
|
||||
|
Loading…
Reference in New Issue
Block a user