|
|
@ -30,6 +30,7 @@ FIND_LIBRARY(
|
|
|
|
IF(NOT ${VOLK_LIBRARIES} STREQUAL "")
|
|
|
|
IF(NOT ${VOLK_LIBRARIES} STREQUAL "")
|
|
|
|
SET(CMAKE_REQUIRED_LIBRARIES ${VOLK_LIBRARIES} m)
|
|
|
|
SET(CMAKE_REQUIRED_LIBRARIES ${VOLK_LIBRARIES} m)
|
|
|
|
CHECK_FUNCTION_EXISTS_MATH(volk_32f_index_max_16u HAVE_VOLK_MAX_FUNCTION)
|
|
|
|
CHECK_FUNCTION_EXISTS_MATH(volk_32f_index_max_16u HAVE_VOLK_MAX_FUNCTION)
|
|
|
|
|
|
|
|
CHECK_FUNCTION_EXISTS_MATH(volk_32f_x2_max_32f HAVE_VOLK_MAX_VEC_FUNCTION)
|
|
|
|
CHECK_FUNCTION_EXISTS_MATH(volk_32f_accumulator_s32f HAVE_VOLK_ACC_FUNCTION)
|
|
|
|
CHECK_FUNCTION_EXISTS_MATH(volk_32f_accumulator_s32f HAVE_VOLK_ACC_FUNCTION)
|
|
|
|
CHECK_FUNCTION_EXISTS_MATH(volk_32fc_s32fc_multiply_32fc HAVE_VOLK_MULT_FUNCTION)
|
|
|
|
CHECK_FUNCTION_EXISTS_MATH(volk_32fc_s32fc_multiply_32fc HAVE_VOLK_MULT_FUNCTION)
|
|
|
|
CHECK_FUNCTION_EXISTS_MATH(volk_32fc_conjugate_32fc HAVE_VOLK_CONJ_FUNCTION)
|
|
|
|
CHECK_FUNCTION_EXISTS_MATH(volk_32fc_conjugate_32fc HAVE_VOLK_CONJ_FUNCTION)
|
|
|
@ -60,6 +61,9 @@ IF(NOT ${VOLK_LIBRARIES} STREQUAL "")
|
|
|
|
IF(${HAVE_VOLK_MAX_ABS_FUNCTION})
|
|
|
|
IF(${HAVE_VOLK_MAX_ABS_FUNCTION})
|
|
|
|
SET(VOLK_DEFINITIONS "${VOLK_DEFINITIONS}; HAVE_VOLK_MAX_ABS_FUNCTION")
|
|
|
|
SET(VOLK_DEFINITIONS "${VOLK_DEFINITIONS}; HAVE_VOLK_MAX_ABS_FUNCTION")
|
|
|
|
ENDIF()
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
IF(${HAVE_VOLK_MAX_VEC_FUNCTION})
|
|
|
|
|
|
|
|
SET(VOLK_DEFINITIONS "${VOLK_DEFINITIONS}; HAVE_VOLK_MAX_VEC_FUNCTION")
|
|
|
|
|
|
|
|
ENDIF()
|
|
|
|
IF(${HAVE_VOLK_DOTPROD_CONJ_FC_FUNCTION})
|
|
|
|
IF(${HAVE_VOLK_DOTPROD_CONJ_FC_FUNCTION})
|
|
|
|
SET(VOLK_DEFINITIONS "${VOLK_DEFINITIONS}; HAVE_VOLK_DOTPROD_CONJ_FC_FUNCTION")
|
|
|
|
SET(VOLK_DEFINITIONS "${VOLK_DEFINITIONS}; HAVE_VOLK_DOTPROD_CONJ_FC_FUNCTION")
|
|
|
|
ENDIF()
|
|
|
|
ENDIF()
|
|
|
|