Skip to content

Commit

Permalink
CMakelists: -mavx2 -O3 -ffast-math
Browse files Browse the repository at this point in the history
  • Loading branch information
attcs committed Jan 21, 2025
1 parent 6547132 commit 21f37fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/automatic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10)

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

include_directories(../)
Expand Down

0 comments on commit 21f37fd

Please sign in to comment.