mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-12 00:59:16 +05:00
643c89538d
Restructure mysimd.hpp and add support for AVX512. Changes include - Move mysimd.hpp to ngsimd.hpp - Expose ngsimd.hpp to NGSolve - New namespace ngsimd - Second template parameter (width) for SIMD class, default to the largest width available - Avoid raw avx register types in the interface, use SIMD<> instead
22 lines
879 B
CMake
22 lines
879 B
CMake
add_definitions(-DNGINTERFACE_EXPORTS)
|
|
add_library(gen OBJECT
|
|
array.cpp bitarray.cpp dynamicmem.cpp flags.cpp
|
|
hashtabl.cpp mystring.cpp ngexception.cpp optmem.cpp parthreads.cpp
|
|
profiler.cpp seti.cpp sort.cpp spbita2d.cpp symbolta.cpp table.cpp
|
|
mpi_interface.cpp gzstream.cpp
|
|
)
|
|
|
|
set_target_properties( gen PROPERTIES POSITION_INDEPENDENT_CODE ON )
|
|
|
|
install( FILES ngexception.hpp DESTINATION ${INCDIR} COMPONENT netgen_devel )
|
|
|
|
install(FILES
|
|
archive_base.hpp array.hpp autodiff.hpp autoptr.hpp bitarray.hpp
|
|
dynamicmem.hpp flags.hpp hashtabl.hpp mpi_interface.hpp myadt.hpp
|
|
ngsimd.hpp mystring.hpp netgenout.hpp ngexception.hpp ngpython.hpp
|
|
optmem.hpp parthreads.hpp profiler.hpp seti.hpp sort.hpp
|
|
spbita2d.hpp stack.hpp symbolta.hpp table.hpp template.hpp
|
|
gzstream.h
|
|
DESTINATION ${INCDIR}/general COMPONENT netgen_devel
|
|
)
|