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
lizhongxiao
OpenXG-RAN
Commits
f7ab7176
Commit
f7ab7176
authored
Jun 09, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove old way of generating LDPC decoders
parent
dde6d61d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
124 deletions
+10
-124
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_tools/generator_bnProc/Makefile
...ING/nrLDPC_decoder/nrLDPC_tools/generator_bnProc/Makefile
+0
-27
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_tools/generator_bnProc_avx512/Makefile
...DPC_decoder/nrLDPC_tools/generator_bnProc_avx512/Makefile
+0
-27
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_tools/generator_cnProc/Makefile
...ING/nrLDPC_decoder/nrLDPC_tools/generator_cnProc/Makefile
+0
-27
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_tools/generator_cnProc_avx512/Makefile
...DPC_decoder/nrLDPC_tools/generator_cnProc_avx512/Makefile
+0
-27
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_tools/run_ldpc_generators.sh
...CODING/nrLDPC_decoder/nrLDPC_tools/run_ldpc_generators.sh
+10
-16
No files found.
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_tools/generator_bnProc/Makefile
deleted
100644 → 0
View file @
dde6d61d
C
=
gcc
CFLAGS
=
-W
-Wall
-mavx2
-DCODEGEN
=
1
LDFLAGS
=
EXEC
=
bnProc_gen_avx2
SRC
=
$(
wildcard
*
.c
)
OBJ
=
$(SRC:.c=.o)
all
:
$(EXEC)
bnProc_gen_avx2
:
$(OBJ)
@
$(CC)
-o
$@
$^
$(LDFLAGS)
-O2
%.o
:
%.c
@
$(CC)
-o
$@
-c
$<
$(CFLAGS)
-I
${OPENAIR_HOME}
/openair1
-I
${OPENAIR_HOME}
/common/utils
-I
${OPENAIR_HOME}
/common/utils/T
-I
${OPENAIR_HOME}
/openair2/COMMON
-g
-std
=
c99
.PHONY
:
clean mrproper
clean
:
@
rm
-rf
*
.o
mrproper
:
clean
@
rm
-rf
$(EXEC)
zip
:
@
tar
-zcvf
sauvegarde.tar.gz main.c bnProcPc_gen_BG1_avx2.c bnProcPc_gen_BG2_avx2.c bnProc_gen_BG1_avx2.c bnProc_gen_BG2_avx2.c Makefile
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_tools/generator_bnProc_avx512/Makefile
deleted
100644 → 0
View file @
dde6d61d
C
=
gcc
CFLAGS
=
-W
-Wall
-mavx2
-DCODEGEN
=
1
LDFLAGS
=
EXEC
=
bnProc_gen_avx512
SRC
=
$(
wildcard
*
.c
)
OBJ
=
$(SRC:.c=.o)
all
:
$(EXEC)
bnProc_gen_avx512
:
$(OBJ)
@
$(CC)
-o
$@
$^
$(LDFLAGS)
-O2
%.o
:
%.c
@
$(CC)
-o
$@
-c
$<
$(CFLAGS)
-I
${OPENAIR_HOME}
/openair1
-I
${OPENAIR_HOME}
/common/utils
-I
${OPENAIR_HOME}
/common/utils/T
-I
${OPENAIR_HOME}
/openair2/COMMON
-g
-std
=
c99
.PHONY
:
clean mrproper
clean
:
@
rm
-rf
*
.o
mrproper
:
clean
@
rm
-rf
$(EXEC)
zip
:
@
tar
-zcvf
sauvegarde.tar.gz main.c bnProc_gen_BG1_avx512.c bnProc_gen_BG2_avx512.c Makefile
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_tools/generator_cnProc/Makefile
deleted
100644 → 0
View file @
dde6d61d
C
=
gcc
CFLAGS
=
-W
-Wall
-mavx2
-DCODEGEN
=
1
LDFLAGS
=
EXEC
=
cnProc_gen_avx2
SRC
=
$(
wildcard
*
.c
)
OBJ
=
$(SRC:.c=.o)
all
:
$(EXEC)
cnProc_gen_avx2
:
$(OBJ)
@
$(CC)
-o
$@
$^
$(LDFLAGS)
-O2
#main.o: cnProc_gen_avx2.h
%.o
:
%.c
@
$(CC)
-o
$@
-c
$<
$(CFLAGS)
-I
${OPENAIR_HOME}
/openair1
-I
${OPENAIR_HOME}
-I
${OPENAIR_HOME}
/common/utils
-I
${OPENAIR_HOME}
/common/utils/T
-I
${OPENAIR_HOME}
/openair2/COMMON
-std
=
c99
.PHONY
:
clean mrproper
clean
:
@
rm
-rf
*
.o
mrproper
:
clean
@
rm
-rf
$(EXEC)
zip
:
@
tar
-zcvf
sauvegarde.tar.gz main.c cnProc_gen_BG1_avx2.c cnProc_gen_BG2_avx2.c Makefile
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_tools/generator_cnProc_avx512/Makefile
deleted
100644 → 0
View file @
dde6d61d
C
=
gcc
CFLAGS
=
-W
-Wall
LDFLAGS
=
EXEC
=
cnProc_gen_avx512
SRC
=
$(
wildcard
*
.c
)
OBJ
=
$(SRC:.c=.o)
all
:
$(EXEC)
cnProc_gen_avx512
:
$(OBJ)
@
$(CC)
-o
$@
$^
$(LDFLAGS)
-O3
#main.o: cnProc_gen_avx512.h
%.o
:
%.c
@
$(CC)
-o
$@
-c
$<
$(CFLAGS)
-I
${OPENAIR_HOME}
/openair1
-g
-std
=
c99
.PHONY
:
clean mrproper
clean
:
@
rm
-rf
*
.o
mrproper
:
clean
@
rm
-rf
$(EXEC)
zip
:
tar
-zcvf
sauvegarde.tar.gz main.c cnProc_gen_BG1_avx512.c cnProc_gen_BG2_avx512.c Makefile
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_tools/run_ldpc_generators.sh
View file @
f7ab7176
#!/bin/bash
$(
cd
$OPENAIR_HOME
/openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_tools
rm
-rf
ldpc_gen_files
mkdir
ldpc_gen_files
cd
ldpc_gen_files
mkdir
cnProc
mkdir
cnProc_avx512
mkdir
bnProc
mkdir
bnProc_avx512
mkdir
bnProcPc
mkdir
bnProcPc_avx512
cd
../generator_bnProc
;
make
;
make clean
;
./bnProc_gen_avx2 ../ldpc_gen_files
cd
../generator_cnProc
;
make
;
make clean
;
./cnProc_gen_avx2 ../ldpc_gen_files
cd
../generator_bnProc_avx512
;
make
;
make clean
;
./bnProc_gen_avx512 ../ldpc_gen_files
cd
../generator_cnProc_avx512
;
make
;
make clean
;
./cnProc_gen_avx512 ../ldpc_gen_files
)
echo
"to build the LDPC decoder headers: go to the build directory, and type"
echo
"make/ninja ldpc_generators"
echo
echo
"assuming your build directory is ran_build/build, I trigger building for"
echo
"you now. The generated headers will be in ran_build/build/ldpc/generator_*/"
echo
cd
$OPENAIR_HOME
/cmake_targets/ran_build/build
make ldpc_generators
||
ninja ldpc_generators
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