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
ras-devel
FLAG
Commits
f597cae4
Commit
f597cae4
authored
8 years ago
by
Mitch Burnett
Browse files
Options
Download
Email Patches
Plain Diff
changing pfb to loading coeff from file instead of generated at runtime
parent
466446c4
master
cuda-improvements
fix-hangs
net-thread-improvements
pipeline-rework
transpose-in-net
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/pfb/src/coeff_float_8_32_320.dat
+0
-0
lib/pfb/src/coeff_float_8_32_320.dat
lib/pfb/src/pfb.cu
+3
-1
lib/pfb/src/pfb.cu
src/flag_pfb_thread.c
+3
-3
src/flag_pfb_thread.c
with
6 additions
and
4 deletions
+6
-4
lib/pfb/src/coeff_float_8_32_320.dat
0 → 100644
+
0
-
0
View file @
f597cae4
File added
This diff is collapsed.
Click to expand it.
lib/pfb/src/pfb.cu
+
3
-
1
View file @
f597cae4
...
...
@@ -240,10 +240,12 @@ int initPFB(int iCudaDevice, params pfbParams){
return
EXIT_FAILURE
;
}
char
relPath
[
256
]
=
"/home/mburnett/GitHub/flag_gpu/lib/pfb/src/"
;
// Read filter coefficients from file
(
void
)
fprintf
(
stdout
,
"
\t
Reading in coefficients...
\n
"
);
(
void
)
sprintf
(
g_acFileCoeff
,
"%s_%s_%d_%d_%d%s"
,
"%s%s_%s_%d_%d_%d%s"
,
relPath
,
FILE_COEFF_PREFIX
,
FILE_COEFF_DATATYPE
,
g_iNTaps
,
...
...
This diff is collapsed.
Click to expand it.
src/flag_pfb_thread.c
+
3
-
3
View file @
f597cae4
...
...
@@ -49,9 +49,9 @@ static void * run(hashpipe_thread_args_t * args) {
params
pfbParams
=
DEFAULT_PFB_PARAMS
;
//databuf.h?
// Initialize prototype filter
char
*
processName
=
"flag_pfb_thread
\0
"
;
printf
(
"PFB: Generating filter coefficients...
\n
"
);
genCoeff
(
processName
,
pfbParams
);
//
char* processName = "flag_pfb_thread\0";
//
printf("PFB: Generating filter coefficients...\n");
//
genCoeff(processName, pfbParams);
// Initialize polyphase filter bank
printf
(
"PFB: Initializing the polyphase filter bank...
\n
"
);
...
...
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