mirror of https://github.com/PentHertz/srsLTE.git
Removed volk occurrences. Fixes #103
This commit is contained in:
parent
b94e6945a6
commit
e04a221911
|
@ -189,21 +189,6 @@ if(ENABLE_GUI)
|
|||
endif(SRSGUI_FOUND)
|
||||
endif(ENABLE_GUI)
|
||||
|
||||
# VOLK
|
||||
include(CheckFunctionExistsMath)
|
||||
if(ENABLE_VOLK)
|
||||
find_package(Volk)
|
||||
if(VOLK_FOUND)
|
||||
include_directories(${VOLK_INCLUDE_DIRS})
|
||||
link_directories(${VOLK_LIBRARY_DIRS})
|
||||
message(STATUS "Compiling with VOLK SIMD library.")
|
||||
else(VOLK_FOUND)
|
||||
message(STATUS "VOLK SIMD library NOT found. Using generic implementation.")
|
||||
endif(VOLK_FOUND)
|
||||
else(ENABLE_VOLK)
|
||||
message(STATUS "VOLK library disabled")
|
||||
endif(ENABLE_VOLK)
|
||||
|
||||
########################################################################
|
||||
# Install Dirs
|
||||
########################################################################
|
||||
|
|
|
@ -57,9 +57,5 @@ set(srslte_srcs $<TARGET_OBJECTS:srslte_agc>
|
|||
add_library(srslte_phy STATIC ${srslte_srcs})
|
||||
target_link_libraries(srslte_phy ${FFT_LIBRARIES})
|
||||
|
||||
if(VOLK_FOUND)
|
||||
target_link_libraries(srslte_phy ${VOLK_LIBRARIES})
|
||||
endif(VOLK_FOUND)
|
||||
|
||||
target_link_libraries(srslte_phy pthread m)
|
||||
install(TARGETS srslte_phy DESTINATION ${LIBRARY_DIR})
|
||||
|
|
|
@ -199,7 +199,6 @@ void srslte_vec_lut_sss_simd(short *x, unsigned short *lut, short *y, int len) {
|
|||
}
|
||||
}
|
||||
|
||||
/* Modified from volk_32f_s32f_convert_16i_a_simd2. Removed clipping */
|
||||
void srslte_vec_convert_fi_simd(float *x, int16_t *z, float scale, int len) {
|
||||
int i = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue