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
常顺宇
OpenXG-RAN
Commits
1bee1d28
Commit
1bee1d28
authored
May 15, 2021
by
cucengineer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf cufft
parent
c557b7b8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
9 deletions
+10
-9
executables/nr-softmodem.c
executables/nr-softmodem.c
+1
-0
executables/nr-uesoftmodem.c
executables/nr-uesoftmodem.c
+1
-0
openair1/PHY/CODING/nrLDPC_extern.h
openair1/PHY/CODING/nrLDPC_extern.h
+2
-2
openair1/PHY/CODING/nrLDPC_load.c
openair1/PHY/CODING/nrLDPC_load.c
+6
-7
targets/PROJECTS/GENERIC-NR-5GC/CONF/cuFFT.so
targets/PROJECTS/GENERIC-NR-5GC/CONF/cuFFT.so
+0
-0
No files found.
executables/nr-softmodem.c
View file @
1bee1d28
...
...
@@ -725,6 +725,7 @@ int main( int argc, char **argv )
init_opt
();
load_cuFFT
();
// test main ok
// int32_t a[2048] = {1};
// int32_t *b = (int32_t *)malloc(2048 * sizeof(int32_t));
// int i;
...
...
executables/nr-uesoftmodem.c
View file @
1bee1d28
...
...
@@ -442,6 +442,7 @@ int main( int argc, char **argv ) {
init_opt
()
;
load_nrLDPClib
();
load_cuFFT
();
// test main ok
// int16_t a[2048] = {1};
// int16_t *b = (int16_t *)malloc(2048 * sizeof(int16_t));
// int i;
...
...
openair1/PHY/CODING/nrLDPC_extern.h
View file @
1bee1d28
...
...
@@ -24,7 +24,7 @@
nrLDPC_decoderfunc_t
nrLDPC_decoder
;
nrLDPC_encoderfunc_t
nrLDPC_encoder
;
cudft_EnTx
cudft2048
;
cudft_EnTx
cudft204
;
//
cudft_EnTx cudft204;
#else
/* functions to load the LDPC shared lib, implemented in openair1/PHY/CODING/nrLDPC_load.c */
extern
int
load_nrLDPClib
(
void
)
;
...
...
@@ -34,7 +34,7 @@ extern int load_cuFFT(void) ;
extern
nrLDPC_decoderfunc_t
nrLDPC_decoder
;
extern
nrLDPC_encoderfunc_t
nrLDPC_encoder
;
extern
cudft_EnTx
cudft2048
;
extern
cudft_EnTx
cudft204
;
//
extern cudft_EnTx cudft204;
// inline functions:
#include "openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_init_mem.h"
#endif
\ No newline at end of file
openair1/PHY/CODING/nrLDPC_load.c
View file @
1bee1d28
...
...
@@ -42,7 +42,6 @@
#include <dlfcn.h>
/* function description array, to be used when loading the encoding/decoding shared lib */
static
loader_shlibfunc_t
shlib_fdesc
[
2
];
...
...
@@ -89,12 +88,12 @@ int load_cuFFT(void) {
dlclose
(
handle
);
return
-
1
;
}
cudft204
=
(
cudft_EnTx
)
dlsym
(
handle
,
"_Z8testtestPsS_h"
);
if
(
!
cudft204
){
printf
(
"cutest.so error!
\n
"
);
dlclose
(
handle
);
return
-
1
;
}
//
cudft204 = (cudft_EnTx) dlsym(handle, "_Z8testtestPsS_h");
//
if(!cudft204){
//
printf("cutest.so error!\n");
//
dlclose(handle);
//
return -1;
//
}
return
0
;
}
...
...
targets/PROJECTS/GENERIC-NR-5GC/CONF/cuFFT.so
View file @
1bee1d28
No preview for this file type
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