Change FastCV hal order

This commit is contained in:
xue zhang 2024-11-21 15:56:27 +05:30
parent 3d0f56b65b
commit ea14b9efe1

View File

@ -937,6 +937,13 @@ if(HAVE_OPENVX)
endif()
endif()
if(HAVE_FASTCV)
ocv_debug_message(STATUS "Enable FastCV acceleration")
if(NOT ";${OpenCV_HAL};" MATCHES ";fastcv;")
set(OpenCV_HAL "fastcv;${OpenCV_HAL}")
endif()
endif()
if(HAVE_KLEIDICV)
ocv_debug_message(STATUS "Enable KleidiCV acceleration")
if(NOT ";${OpenCV_HAL};" MATCHES ";kleidicv;")
@ -965,13 +972,6 @@ if(WITH_HAL_RVV)
endif()
endif()
if(WITH_FASTCV)
ocv_debug_message(STATUS "Enable FastCV acceleration")
if(NOT ";${OpenCV_HAL};" MATCHES ";fastcv;")
set(OpenCV_HAL "fastcv;${OpenCV_HAL}")
endif()
endif()
foreach(hal ${OpenCV_HAL})
if(hal STREQUAL "carotene")
if(";${CPU_BASELINE_FINAL};" MATCHES ";NEON;")