From 6fb56a3c62082838b5b745b4c0b2275ced015180 Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Wed, 18 Nov 2020 17:56:22 +0100 Subject: [PATCH] LDPC: fix AVX tests compilation --- lib/src/phy/fec/ldpc/test/ldpc_chain_test.c | 2 +- lib/src/phy/fec/ldpc/test/ldpc_rm_chain_test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/phy/fec/ldpc/test/ldpc_chain_test.c b/lib/src/phy/fec/ldpc/test/ldpc_chain_test.c index 914ba9963..d0f1866ea 100644 --- a/lib/src/phy/fec/ldpc/test/ldpc_chain_test.c +++ b/lib/src/phy/fec/ldpc/test/ldpc_chain_test.c @@ -261,7 +261,7 @@ int main(int argc, char** argv) int n_error_words_c = 0; int n_error_words_c_flood = 0; -#ifdef LV_HAVE_AVX +#ifdef LV_HAVE_AVX2 double elapsed_time_dec_avx = 0; double elapsed_time_dec_avx_flood = 0; int n_error_words_avx = 0; diff --git a/lib/src/phy/fec/ldpc/test/ldpc_rm_chain_test.c b/lib/src/phy/fec/ldpc/test/ldpc_rm_chain_test.c index a08c3f6b4..3c648466b 100644 --- a/lib/src/phy/fec/ldpc/test/ldpc_rm_chain_test.c +++ b/lib/src/phy/fec/ldpc/test/ldpc_rm_chain_test.c @@ -323,7 +323,7 @@ int main(int argc, char** argv) int n_error_words_c = 0; int n_error_words_c_flood = 0; -#ifdef LV_HAVE_AVX +#ifdef LV_HAVE_AVX2 double elapsed_time_dec_avx = 0; double elapsed_time_dec_avx_flood = 0; int n_error_words_avx = 0;