Commit abafe297 authored by Olivier Coulaud's avatar Olivier Coulaud

Add the macro ScalFMM_USE_AVX in scalfmm config file

parent 20c9aeda
......@@ -103,7 +103,7 @@ else()
STRING(REPLACE "-O2" "" CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE} )
# if compiler is intel add -ip
IF(CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
SET(ScaLFMM_CXX_FLAGS "${ScaLFMM_CXX_FLAGS} -ip } -no-prec-div -no-prec-sqrt")
SET(ScaLFMM_CXX_FLAGS "${ScaLFMM_CXX_FLAGS} -ip -no-prec-div -no-prec-sqrt")
ENDIF()
# Compile optimization
......
......@@ -80,6 +80,12 @@
#cmakedefine ScalFMM_USE_SSE
///////////////////////////////////////////////////////
// AVX
///////////////////////////////////////////////////////
#cmakedefine ScalFMM_USE_AVX
///////////////////////////////////////////////////////
// Assert tests
///////////////////////////////////////////////////////
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment