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
promise
OpenXG-RAN
Commits
564eee7b
Commit
564eee7b
authored
Sep 15, 2020
by
frtabu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--amend
parent
bd33606b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+2
-3
openair1/PHY/TOOLS/oai_kissdfts.c
openair1/PHY/TOOLS/oai_kissdfts.c
+2
-3
No files found.
cmake_targets/CMakeLists.txt
View file @
564eee7b
...
...
@@ -1419,10 +1419,9 @@ set(KISSFFT_DIR ${OPENAIR_DIR}/kiss_fft130)
add_library
(
dfts_fpkiss MODULE
${
OPENAIR1_DIR
}
/PHY/TOOLS/oai_kissdfts.c
${
OPENAIR1_DIR
}
/PHY/TOOLS/oai_dfts_tmp.c
${
KISSFFT_DIR
}
/kiss_fft.c
)
target_compile_definitions
(
dfts_fpkiss PUBLIC -DFIXED_POINT=16
)
target_compile_options
(
dfts_fpkiss PUBLIC -O3 -m
tune=native -ffast-math -fomit-frame-pointer -dA -fverbose-asm -ftree-vectorizer-verbose=6 -fopt-info-vec-missed
)
target_compile_options
(
dfts_fpkiss PUBLIC -O3 -m
arch=native -ffast-math -fomit-frame-pointer -fopt-info-loop-optimized
)
add_library
(
dfts_flkiss MODULE
${
OPENAIR1_DIR
}
/PHY/TOOLS/oai_kissdfts.c
${
OPENAIR1_DIR
}
/PHY/TOOLS/oai_dfts_tmp.c
${
KISSFFT_DIR
}
/kiss_fft.c
)
target_compile_definitions
(
dfts_fpkiss PUBLIC
)
target_compile_options
(
dfts_fpkiss PUBLIC -O3 -mtune=native -ffast-math -fomit-frame-pointer -dA -fverbose-asm -ftree-vectorizer-verbose=6 -fopt-info-vec-missed
)
target_compile_options
(
dfts_flkiss PUBLIC -O3 -march=native -ffast-math -fomit-frame-pointer -ftree-vectorizer-verbose=2 -fopt-info-vec-missed
)
set
(
PHY_SRC_COMMON
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/dci_tools_common.c
...
...
openair1/PHY/TOOLS/oai_kissdfts.c
View file @
564eee7b
...
...
@@ -60,10 +60,8 @@ int dfts_autoinit(void)
for
(
int
i
=
0
;
i
<
IDFT_SIZE_IDXTABLESIZE
;
i
++
)
{
ifftcfg
[
i
]
=
kiss_fft_alloc
(
ifftsizes
[
i
],
1
,
NULL
,
NULL
);
}
#ifdef FIXED_POINT
tmpbuff
=
malloc
(
98304
*
2
*
sizeof
(
int16_t
));
olddfts_autoinit
();
#endif
return
0
;
}
...
...
@@ -88,9 +86,10 @@ void convert_floattoshort(int size,float *input,short *output,int factor){
void
rescale_up_int16buff
(
int
size
,
int16_t
*
input
,
int
factor
){
for
(
int
i
=
0
;
i
<
(
size
*
2
);
i
=
i
+
1
){
input
[
i
]
=
(
input
[
i
]
*
factor
);
}
}
}
void
rescale_up_newint16buff
(
int
size
,
int16_t
*
input
,
int16_t
*
output
,
int
factor
){
...
...
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