|
|
|
@ -422,8 +422,7 @@ int main(int argc, char** argv)
|
|
|
|
|
// Recover messages
|
|
|
|
|
gettimeofday(&t[1], NULL);
|
|
|
|
|
for (j = 0; j < batch_size; j++) {
|
|
|
|
|
srsran_ldpc_decoder_decode_rm_c(
|
|
|
|
|
&decoder_c, symbols_c + j * finalN, messages_sim_c + j * finalK, n_useful_symbols);
|
|
|
|
|
srsran_ldpc_decoder_decode_c(&decoder_c, symbols_c + j * finalN, messages_sim_c + j * finalK, n_useful_symbols);
|
|
|
|
|
}
|
|
|
|
|
gettimeofday(&t[2], NULL);
|
|
|
|
|
get_time_interval(t);
|
|
|
|
@ -444,7 +443,7 @@ int main(int argc, char** argv)
|
|
|
|
|
// Recover messages
|
|
|
|
|
gettimeofday(&t[1], NULL);
|
|
|
|
|
for (j = 0; j < batch_size; j++) {
|
|
|
|
|
srsran_ldpc_decoder_decode_rm_c(
|
|
|
|
|
srsran_ldpc_decoder_decode_c(
|
|
|
|
|
&decoder_c_flood, symbols_c + j * finalN, messages_sim_c_flood + j * finalK, n_useful_symbols);
|
|
|
|
|
}
|
|
|
|
|
gettimeofday(&t[2], NULL);
|
|
|
|
@ -467,7 +466,7 @@ int main(int argc, char** argv)
|
|
|
|
|
// Recover messages
|
|
|
|
|
gettimeofday(&t[1], NULL);
|
|
|
|
|
for (j = 0; j < batch_size; j++) {
|
|
|
|
|
srsran_ldpc_decoder_decode_rm_c(
|
|
|
|
|
srsran_ldpc_decoder_decode_c(
|
|
|
|
|
&decoder_avx, symbols_c + j * finalN, messages_sim_avx + j * finalK, n_useful_symbols);
|
|
|
|
|
}
|
|
|
|
|
gettimeofday(&t[2], NULL);
|
|
|
|
@ -489,7 +488,7 @@ int main(int argc, char** argv)
|
|
|
|
|
// Recover messages
|
|
|
|
|
gettimeofday(&t[1], NULL);
|
|
|
|
|
for (j = 0; j < batch_size; j++) {
|
|
|
|
|
srsran_ldpc_decoder_decode_rm_c(
|
|
|
|
|
srsran_ldpc_decoder_decode_c(
|
|
|
|
|
&decoder_avx_flood, symbols_c + j * finalN, messages_sim_avx_flood + j * finalK, n_useful_symbols);
|
|
|
|
|
}
|
|
|
|
|
gettimeofday(&t[2], NULL);
|
|
|
|
@ -513,7 +512,7 @@ int main(int argc, char** argv)
|
|
|
|
|
// Recover messages
|
|
|
|
|
gettimeofday(&t[1], NULL);
|
|
|
|
|
for (j = 0; j < batch_size; j++) {
|
|
|
|
|
srsran_ldpc_decoder_decode_rm_c(
|
|
|
|
|
srsran_ldpc_decoder_decode_c(
|
|
|
|
|
&decoder_avx512, symbols_c + j * finalN, messages_sim_avx512 + j * finalK, n_useful_symbols);
|
|
|
|
|
}
|
|
|
|
|
gettimeofday(&t[2], NULL);
|
|
|
|
@ -534,7 +533,7 @@ int main(int argc, char** argv)
|
|
|
|
|
// Recover messages
|
|
|
|
|
gettimeofday(&t[1], NULL);
|
|
|
|
|
for (j = 0; j < batch_size; j++) {
|
|
|
|
|
srsran_ldpc_decoder_decode_rm_c(
|
|
|
|
|
srsran_ldpc_decoder_decode_c(
|
|
|
|
|
&decoder_avx512_flood, symbols_c + j * finalN, messages_sim_avx512_flood + j * finalK, n_useful_symbols);
|
|
|
|
|
}
|
|
|
|
|
gettimeofday(&t[2], NULL);
|
|
|
|
|