We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38ed0a4 commit d5ace97Copy full SHA for d5ace97
2 files changed
CMakeLists.txt
@@ -1,5 +1,5 @@
1
2
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O3 -march=native")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAG} -march=native -std=c++11 -O3")
3
4
add_executable( fmm_test
5
src/main.cpp
src/simd.hpp
@@ -14,7 +14,12 @@
14
15
const std::size_t simd_len = 8;
16
17
+#ifdef __AVX__
18
+#pragma message( "Compiling with SIMD\n" )
19
#define USE_SIMD
20
+#else
21
+#pragma message( "Compiling without SIMD\n" )
22
+#endif
23
24
#ifdef USE_SIMD
25
#ifndef __MIC__
0 commit comments