Skip to content

Commit

Permalink
Print AVX and AVX2 support when running CMake.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-trinh committed Mar 9, 2025
1 parent c14cb6a commit 0050c7e
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 0050c7e

Please sign in to comment.