Skip to content

Commit 21f37fd

Browse files
committed
CMakelists: -mavx2 -O3 -ffast-math
1 parent 6547132 commit 21f37fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/automatic/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10)
22

33
project(benchmarks)
44
find_package(TBB QUIET)
5-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTBB_ENABLE_IPO=off -std=c++20")
5+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTBB_ENABLE_IPO=off -std=c++20 -march=native -mavx2 -O3 -ffast-math")
66
set(BENCHMARK_DOWNLOAD_DEPENDENCIES ON CACHE BOOL "Download Google Benchmark dependencies")
77

88
include_directories(../)

0 commit comments

Comments
 (0)