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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
f451f62c
Commit
f451f62c
authored
Oct 06, 2023
by
Quency Lin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cannot pass sanitizer, Align to 16 for 2 contiguous 256 SIMDe
parent
999bdc01
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
openair1/PHY/INIT/nr_init.c
openair1/PHY/INIT/nr_init.c
+1
-1
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
+4
-6
No files found.
openair1/PHY/INIT/nr_init.c
View file @
f451f62c
...
...
@@ -686,7 +686,7 @@ int phy_init_nr_gNB(PHY_VARS_gNB *gNB)
int
n_buf
=
Prx
*
max_ul_mimo_layers
;
int
nb_re_pusch
=
N_RB_UL
*
NR_NB_SC_PER_RB
;
int
nb_re_pusch2
=
(
nb_re_pusch
+
7
)
&
~
7
;
int
nb_re_pusch2
=
(
nb_re_pusch
+
15
)
&
~
15
;
gNB
->
pusch_vars
=
(
NR_gNB_PUSCH
*
)
malloc16_clear
(
gNB
->
max_nb_pusch
*
sizeof
(
NR_gNB_PUSCH
));
for
(
int
ULSCH_id
=
0
;
ULSCH_id
<
gNB
->
max_nb_pusch
;
ULSCH_id
++
)
{
...
...
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
View file @
f451f62c
...
...
@@ -1146,9 +1146,8 @@ static uint8_t nr_ulsch_mmse_2layers(NR_DL_FRAME_PARMS *frame_parms,
simde__m128i
*
after_mf_c_128
=
(
simde__m128i
*
)
af_mf_10
;
simde__m128i
*
after_mf_d_128
=
(
simde__m128i
*
)
af_mf_11
;
int
rxComp_aligned
=
((
nb_rb
*
12
)
%
8
)
?
(
8
-
(
nb_rb
*
12
)
%
8
)
:
0
;
simde__m128i
*
rxdataF_comp128_0
=
(
simde__m128i
*
)
&
rxdataF_comp
[
0
][
symbol
*
(
nb_rb
*
12
+
rxComp_aligned
)];
simde__m128i
*
rxdataF_comp128_1
=
(
simde__m128i
*
)
&
rxdataF_comp
[
n_rx
][
symbol
*
(
nb_rb
*
12
+
rxComp_aligned
)];
simde__m128i
*
rxdataF_comp128_0
=
(
simde__m128i
*
)
&
rxdataF_comp
[
0
][
symbol
*
buffer_length
];
simde__m128i
*
rxdataF_comp128_1
=
(
simde__m128i
*
)
&
rxdataF_comp
[
n_rx
][
symbol
*
buffer_length
];
if
(
mod_order
>
2
)
{
if
(
mod_order
==
4
)
{
...
...
@@ -1277,7 +1276,7 @@ static void inner_rx (PHY_VARS_gNB *gNB,
int
nb_layer
=
rel15_ul
->
nrOfLayers
;
int
nb_rx_ant
=
frame_parms
->
nb_antennas_rx
;
int
dmrs_symbol_flag
=
(
rel15_ul
->
ul_dmrs_symb_pos
>>
symbol
)
&
0x01
;
int
buffer_length
=
(
rel15_ul
->
rb_size
*
NR_NB_SC_PER_RB
+
7
)
&
~
7
;
int
buffer_length
=
(
rel15_ul
->
rb_size
*
NR_NB_SC_PER_RB
+
15
)
&
~
15
;
c16_t
rxFext
[
nb_rx_ant
][
buffer_length
]
__attribute__
((
aligned
(
32
)));
c16_t
chFext
[
nb_layer
][
nb_rx_ant
][
buffer_length
]
__attribute__
((
aligned
(
32
)));
...
...
@@ -1578,8 +1577,7 @@ int nr_rx_pusch_tp(PHY_VARS_gNB *gNB,
// extract the data in the OFDM frame, to the start of the array
int
soffset
=
(
slot
&
3
)
*
frame_parms
->
symbols_per_slot
*
frame_parms
->
ofdm_symbol_size
;
if
(
nb_re_pusch
&
7
)
nb_re_pusch
+=
8
-
(
nb_re_pusch
&
7
);
nb_re_pusch
=
(
nb_re_pusch
+
15
)
&
~
15
;
for
(
int
aarx
=
0
;
aarx
<
frame_parms
->
nb_antennas_rx
;
aarx
++
)
for
(
int
aatx
=
0
;
aatx
<
rel15_ul
->
nrOfLayers
;
aatx
++
)
...
...
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