Skip to content

Commit

Permalink
blaze backend: use xsimd
Browse files Browse the repository at this point in the history
  • Loading branch information
foolnotion committed May 17, 2024
1 parent c43769b commit d23cfa8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ if (MATH_BACKEND STREQUAL "Arma")
target_compile_definitions(operon_operon PUBLIC OPERON_MATH_ARMA)
elseif (MATH_BACKEND STREQUAL "Blaze")
find_package(blaze REQUIRED)
find_package(sleef REQUIRED)
target_link_libraries(operon_operon INTERFACE sleef::sleef)
target_compile_definitions(operon_operon PUBLIC OPERON_MATH_BLAZE BLAZE_USE_SHARED_MEMORY_PARALLELIZATION=0 BLAZE_USE_SLEEF=1 EIGEN_DONT_PARALLELIZE)
find_package(xsimd REQUIRED)
target_link_libraries(operon_operon INTERFACE xsimd)
target_compile_definitions(operon_operon PUBLIC OPERON_MATH_BLAZE BLAZE_USE_SHARED_MEMORY_PARALLELIZATION=0 BLAZE_USE_XSIMD=1 EIGEN_DONT_PARALLELIZE)
elseif (MATH_BACKEND STREQUAL "Fastor")
find_package(Fastor REQUIRED)
find_package(sleef REQUIRED)
Expand Down
18 changes: 9 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d23cfa8

Please sign in to comment.