Commit ebb490d9 authored by Massive's avatar Massive

disabling the LDPC decoder on machines that do not have AVX2

parent 9d2ca1ef
...@@ -1087,7 +1087,7 @@ set(PHY_SRC ...@@ -1087,7 +1087,7 @@ set(PHY_SRC
${OPENAIR1_DIR}/PHY/LTE_REFSIG/lte_ul_ref.c ${OPENAIR1_DIR}/PHY/LTE_REFSIG/lte_ul_ref.c
${OPENAIR1_DIR}/PHY/CODING/lte_segmentation.c ${OPENAIR1_DIR}/PHY/CODING/lte_segmentation.c
${OPENAIR1_DIR}/PHY/CODING/nr_segmentation.c ${OPENAIR1_DIR}/PHY/CODING/nr_segmentation.c
${OPENAIR1_DIR}/PHY/CODING/nrLDPC_decoder.c ${OPENAIR1_DIR}/PHY/CODING/ldpc_decoder.c
${OPENAIR1_DIR}/PHY/CODING/ldpc_encoder.c ${OPENAIR1_DIR}/PHY/CODING/ldpc_encoder.c
${OPENAIR1_DIR}/PHY/CODING/ccoding_byte.c ${OPENAIR1_DIR}/PHY/CODING/ccoding_byte.c
${OPENAIR1_DIR}/PHY/CODING/ccoding_byte_lte.c ${OPENAIR1_DIR}/PHY/CODING/ccoding_byte_lte.c
...@@ -1122,7 +1122,7 @@ if (${SMBV}) ...@@ -1122,7 +1122,7 @@ if (${SMBV})
endif (${SMBV}) endif (${SMBV})
if (${COMPILATION_AVX2} STREQUAL "True") if (${COMPILATION_AVX2} STREQUAL "True")
set(PHY_SRC ${PHY_SRC} ${OPENAIR1_DIR}/PHY/LTE_TRANSPORT/dlsch_llr_computation_avx2.c) set(PHY_SRC ${PHY_SRC} ${OPENAIR1_DIR}/PHY/LTE_TRANSPORT/dlsch_llr_computation_avx2.c ${OPENAIR1_DIR}/PHY/CODING/nrLDPC_decoder.c)
endif () endif ()
add_library(PHY ${PHY_SRC}) add_library(PHY ${PHY_SRC})
......
...@@ -589,10 +589,12 @@ uint32_t dlsch_decoding(PHY_VARS_UE *phy_vars_ue, ...@@ -589,10 +589,12 @@ uint32_t dlsch_decoding(PHY_VARS_UE *phy_vars_ue,
printf("starting ldpc decoder Z %d, BG %d, R %d\n",p_decParams->Z, p_decParams->BG, p_decParams->R); printf("starting ldpc decoder Z %d, BG %d, R %d\n",p_decParams->Z, p_decParams->BG, p_decParams->R);
/*
nrLDPC_decoder(p_decParams, nrLDPC_decoder(p_decParams,
(int8_t*) &pl[0], (int8_t*) &pl[0],
(int8_t*) harq_process->c[r], (int8_t*) harq_process->c[r],
p_procTime); p_procTime);
*/
#endif #endif
#ifdef DEBUG_DLSCH_DECODING #ifdef DEBUG_DLSCH_DECODING
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment