From a654eb713d1ee547afbe28c5f4266ada09dfbd82 Mon Sep 17 00:00:00 2001 From: beomki-yeo Date: Fri, 12 Apr 2024 22:59:03 +0200 Subject: [PATCH] Turn on vectorization --- frontend/array_cmath/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/array_cmath/CMakeLists.txt b/frontend/array_cmath/CMakeLists.txt index 30df0a94..4f6a4c48 100644 --- a/frontend/array_cmath/CMakeLists.txt +++ b/frontend/array_cmath/CMakeLists.txt @@ -9,5 +9,7 @@ algebra_add_library( algebra_array_cmath array_cmath "include/algebra/array_cmath.hpp" ) target_link_libraries( algebra_array_cmath INTERFACE algebra::common algebra::array_storage algebra::cmath_math ) +target_compile_options(algebra_array_cmath INTERFACE + "-ftree-vectorize" "-mavx2") algebra_test_public_headers( algebra_array_cmath "algebra/array_cmath.hpp" )