Skip to content

Commit

Permalink
Merge pull request #1609 from s-trinh/update_cmake_output_cpu_optim
Browse files Browse the repository at this point in the history
Print AVX and AVX2 support when running CMake
  • Loading branch information
fspindle authored Mar 10, 2025
2 parents edba767 + 0050c7e commit d0a35c4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmake/VISPUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1953,6 +1953,12 @@ macro(vp_check_cpu_optimization cpu_optim)
if(HAVE_SSE4_2)
list(APPEND __cpu_optim "SSE4_2")
endif()
if(HAVE_AVX)
list(APPEND __cpu_optim "AVX")
endif()
if(HAVE_AVX2)
list(APPEND __cpu_optim "AVX2")
endif()
if(HAVE_NEON)
list(APPEND __cpu_optim "NEON")
endif()
Expand Down

0 comments on commit d0a35c4

Please sign in to comment.