Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
canghaiwuhen
OpenXG-RAN
Commits
bfad6363
Commit
bfad6363
authored
May 26, 2020
by
Sy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Testing for avx512
parent
00a8df6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
65 additions
and
65 deletions
+65
-65
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder.c
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder.c
+65
-65
No files found.
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder.c
View file @
bfad6363
...
...
@@ -161,61 +161,61 @@
/**************************include files for -->AVX512 ******************/
/
/#include "nrLDPC_tools/ldpc_gen_files/avx2/nrLDPC_cnProc_BG1_Z384_13_AVX
2.c"
/*#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z352_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z320_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z288_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z256_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z240_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z224_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z208_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z192_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z176_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z160_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z144_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z128_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z120_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z112_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z104_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z96_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z88_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z80_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z72_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z64_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z60_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z56_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z52_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z48_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z44_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z40_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z36_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z32_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z30_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z28_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z26_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z24_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z22_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z20_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z18_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z16_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z15_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z14_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z13_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z12_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z11_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z10_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z9_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z8_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z7_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z6_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z5_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z4_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z3_13_AVX
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
avx2/nrLDPC_cnProc_BG1_Z2_13_AVX
2.c"
/
#
include
"nrLDPC_tools/ldpc_gen_files/nrLDPC_cnProc_BG1_Z384_13_AVX51
2.c"
/*#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z352_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z320_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z288_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z256_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z240_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z224_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z208_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z192_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z176_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z160_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z144_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z128_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z120_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z112_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z104_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z96_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z88_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z80_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z72_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z64_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z60_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z56_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z52_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z48_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z44_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z40_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z36_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z32_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z30_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z28_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z26_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z24_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z22_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z20_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z18_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z16_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z15_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z14_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z13_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z12_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z11_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z10_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z9_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z8_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z7_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z6_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z5_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z4_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z3_13_AVX51
2.c"
#include "nrLDPC_tools/ldpc_gen_files/
nrLDPC_cnProc_BG1_Z2_13_AVX51
2.c"
*/
#define NR_LDPC_ENABLE_PARITY_CHECK
#define NR_LDPC_PROFILER_DETAIL
...
...
@@ -328,11 +328,11 @@ static inline uint32_t nrLDPC_decoder_core(int8_t* p_llr, int8_t* p_out, t_nrLDP
switch
(
Z
)
{
case
384
:
{
nrLDPC_cnProc_BG1_Z384_13_AVX2
(
p_procBuf
->
cnProcBuf
,
p_procBuf
->
cnProcBufRes
);
//
nrLDPC_cnProc_BG1_Z384_13_AVX512(p_procBuf->cnProcBuf,p_procBuf->cnProcBufRes);
{
//we test here
//
nrLDPC_cnProc_BG1_Z384_13_AVX2(p_procBuf->cnProcBuf,p_procBuf->cnProcBufRes);
nrLDPC_cnProc_BG1_Z384_13_AVX512
(
p_procBuf
->
cnProcBuf
,
p_procBuf
->
cnProcBufRes
);
break
;
}
}
case
352
:
{
nrLDPC_cnProc_BG1_Z352_13_AVX2
(
p_procBuf
->
cnProcBuf
,
p_procBuf
->
cnProcBufRes
);
...
...
@@ -1917,9 +1917,9 @@ static inline uint32_t nrLDPC_decoder_core(int8_t* p_llr, int8_t* p_out, t_nrLDP
switch
(
Z
)
{
case
384
:
{
nrLDPC_cnProc_BG1_Z384_13_AVX2
(
p_procBuf
->
cnProcBuf
,
p_procBuf
->
cnProcBufRes
);
//
nrLDPC_cnProc_BG1_Z384_13_AVX512(p_procBuf->cnProcBuf,p_procBuf->cnProcBufRes);
{
//we test here
//
nrLDPC_cnProc_BG1_Z384_13_AVX2(p_procBuf->cnProcBuf,p_procBuf->cnProcBufRes);
nrLDPC_cnProc_BG1_Z384_13_AVX512
(
p_procBuf
->
cnProcBuf
,
p_procBuf
->
cnProcBufRes
);
break
;
}
case
352
:
...
...
@@ -2267,9 +2267,9 @@ static inline uint32_t nrLDPC_decoder_core(int8_t* p_llr, int8_t* p_out, t_nrLDP
switch
(
Z
)
{
case
384
:
{
nrLDPC_cnProc_BG2_Z384_13_AVX2
(
p_procBuf
->
cnProcBuf
,
p_procBuf
->
cnProcBufRes
);
//
nrLDPC_cnProc_BG2_Z384_13_AVX512(p_procBuf->cnProcBuf,p_procBuf->cnProcBufRes);
{
//we test here
//
nrLDPC_cnProc_BG2_Z384_13_AVX2(p_procBuf->cnProcBuf,p_procBuf->cnProcBufRes);
nrLDPC_cnProc_BG2_Z384_13_AVX512
(
p_procBuf
->
cnProcBuf
,
p_procBuf
->
cnProcBufRes
);
break
;
}
case
352
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment