Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
ALPACA
xb-engine
core
rtbf
Commits
08744240
Commit
08744240
authored
2 years ago
by
Mitch Burnett
Browse files
Options
Download
Email Patches
Plain Diff
data fill ordering comment
parent
51c88337
No related merge requests found
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
src/rtbf_demo.c
+2
-1
src/rtbf_demo.c
src/unit_beam_op_pwr.c
+1
-0
src/unit_beam_op_pwr.c
src/unit_beam_op_raw.c
+1
-0
src/unit_beam_op_raw.c
src/unit_beam_op_sti.c
+1
-0
src/unit_beam_op_sti.c
src/unit_loadweight_raw.c
+1
-0
src/unit_loadweight_raw.c
src/unit_memoffset_sti.c
+2
-0
src/unit_memoffset_sti.c
with
8 additions
and
1 deletion
+8
-1
src/rtbf_demo.c
+
2
-
1
View file @
08744240
...
...
@@ -41,6 +41,7 @@ void rtbfFillDataBlock(complex16_t *array_input_data, RTBFContext *context) {
int
Ni
=
context
->
input_per_fid
;
blockcounter
++
;
// fill network ordered block of array data
for
(
int
m
=
0
;
m
<
Nm
;
m
++
)
{
// mcnt
for
(
int
f
=
0
;
f
<
Nf
;
f
++
)
{
// fid
for
(
int
t
=
0
;
t
<
Nt
;
t
++
)
{
// time
...
...
@@ -95,7 +96,7 @@ void rtbfRAWFillDataBlock(complex16_t *array_input_data, RTBFContext *context, R
}
}
// fill
data
array
// fill
network ordered block of
array
data
for
(
int
m
=
0
;
m
<
Nm
;
m
++
)
{
// mcnt
for
(
int
f
=
0
;
f
<
Nf
;
f
++
)
{
// fid
for
(
int
t
=
0
;
t
<
Nt
;
t
++
)
{
// time
...
...
This diff is collapsed.
Click to expand it.
src/unit_beam_op_pwr.c
+
1
-
0
View file @
08744240
...
...
@@ -79,6 +79,7 @@ int main(int argc, char* argv[]) {
complex16_t
*
d_cx_ptr
=
(
complex16_t
*
)
malloc
(
rtbf_info
.
array_len
*
sizeof
(
complex16_t
));
// input data
float
*
b_float_ptr
=
(
float
*
)
malloc
(
rtbf_info
.
beam_power_len
*
sizeof
(
float
));
// output data
// fill a network ordered block of array data
for
(
int
m
=
0
;
m
<
Nm
;
m
++
)
{
// mcnt
for
(
int
f
=
0
;
f
<
Nf
;
f
++
)
{
// fid
for
(
int
t
=
0
;
t
<
Nt
;
t
++
)
{
// time
...
...
This diff is collapsed.
Click to expand it.
src/unit_beam_op_raw.c
+
1
-
0
View file @
08744240
...
...
@@ -139,6 +139,7 @@ int main(int argc, char* argv[]) {
printf
(
"input ptr: %p (size: %u), output ptr: %p (size: %u)
\n
"
,
d_cx_ptr
,
rtbf_info
.
array_len
*
sizeof
(
complex16_t
),
b_cx_ptr
,
rtbf_info
.
beamformed_len
*
sizeof
(
cx_output_t
));
// fill a network ordered block of array data
for
(
int
m
=
0
;
m
<
Nm
;
m
++
)
{
// mcnt
for
(
int
f
=
0
;
f
<
Nf
;
f
++
)
{
// fid
for
(
int
t
=
0
;
t
<
Nt
;
t
++
)
{
// time
...
...
This diff is collapsed.
Click to expand it.
src/unit_beam_op_sti.c
+
1
-
0
View file @
08744240
...
...
@@ -89,6 +89,7 @@ int main(int argc, char* argv[]) {
complex16_t
*
d_cx_ptr
=
(
complex16_t
*
)
malloc
(
rtbf_info
.
array_len
*
sizeof
(
complex16_t
));
// input data
stokesvec_t
*
b_sv_ptr
=
(
stokesvec_t
*
)
malloc
(
rtbf_info
.
sti_stokes_len
*
sizeof
(
stokesvec_t
));
// output data
// fill a network ordered block of array data
for
(
int
m
=
0
;
m
<
Nm
;
m
++
)
{
// mcnt
for
(
int
f
=
0
;
f
<
Nf
;
f
++
)
{
// fid
for
(
int
t
=
0
;
t
<
Nt
;
t
++
)
{
// time
...
...
This diff is collapsed.
Click to expand it.
src/unit_loadweight_raw.c
+
1
-
0
View file @
08744240
...
...
@@ -119,6 +119,7 @@ int main(int argc, char* argv[]) {
printf
(
"input ptr: %p (size: %u), output ptr: %p (size: %u)
\n
"
,
d_cx_ptr
,
rtbf_info
.
array_len
*
sizeof
(
complex16_t
),
b_cx_ptr
,
rtbf_info
.
beamformed_len
*
sizeof
(
cx_output_t
));
// fill a network ordered block of array data
for
(
int
m
=
0
;
m
<
Nm
;
m
++
)
{
// mcnt
for
(
int
f
=
0
;
f
<
Nf
;
f
++
)
{
// fid
for
(
int
t
=
0
;
t
<
Nt
;
t
++
)
{
// time
...
...
This diff is collapsed.
Click to expand it.
src/unit_memoffset_sti.c
+
2
-
0
View file @
08744240
...
...
@@ -90,6 +90,7 @@ int main(int argc, char* argv[]) {
complex16_t
*
d_cx_ptr
=
(
complex16_t
*
)
malloc
(
Bk
*
rtbf_info
.
array_len
*
sizeof
(
complex16_t
));
// input data
stokesvec_t
*
b_sv_ptr
=
(
stokesvec_t
*
)
malloc
(
Bk
*
rtbf_info
.
sti_stokes_len
*
sizeof
(
stokesvec_t
));
// output data
// fill a network ordered block of array data
for
(
int
m
=
0
;
m
<
Nm
;
m
++
)
{
// mcnt
for
(
int
f
=
0
;
f
<
Nf
;
f
++
)
{
// fid
for
(
int
t
=
0
;
t
<
Nt
;
t
++
)
{
// time
...
...
@@ -177,6 +178,7 @@ int main(int argc, char* argv[]) {
update_d_cx_ptr
=
d_cx_ptr
+
context
.
input_offset
;
printf
(
"setting input starting at addr %p
\n
"
,
update_d_cx_ptr
);
// fill a network ordered block of array data
for
(
int
m
=
0
;
m
<
Nm
;
m
++
)
{
// mcnt
for
(
int
f
=
0
;
f
<
Nf
;
f
++
)
{
// fid
for
(
int
t
=
0
;
t
<
Nt
;
t
++
)
{
// time
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Topics
Snippets