Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
faust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.3.
Show more breadcrumbs
faust group
faust
Commits
e8e1d5cc
Commit
e8e1d5cc
authored
2 years ago
by
hhakim
Browse files
Options
Downloads
Patches
Plain Diff
Display input configuration if verbosity level > 1 in GivensFGFT(Parallel)Gen C++ code.
parent
e352d724
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/algorithm/factorization/faust_GivensFGFTGen.hpp
+12
-0
12 additions, 0 deletions
src/algorithm/factorization/faust_GivensFGFTGen.hpp
src/algorithm/factorization/faust_GivensFGFTParallelGen.hpp
+21
-1
21 additions, 1 deletion
src/algorithm/factorization/faust_GivensFGFTParallelGen.hpp
with
33 additions
and
1 deletion
src/algorithm/factorization/faust_GivensFGFTGen.hpp
+
12
−
0
View file @
e8e1d5cc
...
...
@@ -66,6 +66,8 @@ const vector<int>& GivensFGFTGen<FPP,DEVICE,FPP2,FPP4>::get_ord_indices()
template
<
typename
FPP
,
FDevice
DEVICE
,
typename
FPP2
,
typename
FPP4
>
void
GivensFGFTGen
<
FPP
,
DEVICE
,
FPP2
,
FPP4
>::
compute_facts
()
{
is_D_ordered
=
false
;
// facts (re)computed then D must be reordered
ite
=
0
;
bool
stopping
=
false
;
...
...
@@ -86,6 +88,16 @@ void GivensFGFTGen<FPP,DEVICE,FPP2,FPP4>::compute_facts()
break
;
}
}
if
(
verbosity
>
1
)
{
std
::
cout
<<
"GivensFGFTGen::compute_facts() end"
<<
std
::
endl
;
std
::
cout
<<
"J: "
<<
J
<<
std
::
endl
;
std
::
cout
<<
"tol: "
<<
stoppingError
<<
std
::
endl
;
std
::
cout
<<
"stopcrit is error: "
<<
stoppingCritIsError
<<
std
::
endl
;
std
::
cout
<<
"relErr: "
<<
errIsRel
<<
std
::
endl
;
std
::
cout
<<
"order: "
<<
is_D_ordered
<<
std
::
endl
;
std
::
cout
<<
"enable_large_Faust: "
<<
enable_large_Faust
<<
std
::
endl
;
}
}
template
<
typename
FPP
,
FDevice
DEVICE
,
typename
FPP2
,
typename
FPP4
>
...
...
This diff is collapsed.
Click to expand it.
src/algorithm/factorization/faust_GivensFGFTParallelGen.hpp
+
21
−
1
View file @
e8e1d5cc
...
...
@@ -5,8 +5,28 @@
#endif
template
<
typename
FPP
,
FDevice
DEVICE
,
typename
FPP2
,
typename
FPP4
>
GivensFGFTParallelGen
<
FPP
,
DEVICE
,
FPP2
,
FPP4
>::
GivensFGFTParallelGen
(
int
t
,
Faust
::
GivensFGFTGen
<
FPP
,
DEVICE
,
FPP2
,
FPP4
>
&
alg
)
:
alg
(
alg
),
t
(
t
),
fact_nrots
(
0
)
GivensFGFTParallelGen
<
FPP
,
DEVICE
,
FPP2
,
FPP4
>::
GivensFGFTParallelGen
(
int
t
,
Faust
::
GivensFGFTGen
<
FPP
,
DEVICE
,
FPP2
,
FPP4
>
&
alg
)
:
alg
(
alg
),
t
(
t
),
fact_nrots
(
0
)
{
if
(
alg
.
verbosity
>
1
)
{
std
::
cout
<<
"GivensFGFTGenParallelGen ctor:"
<<
std
::
endl
;
std
::
cout
<<
"J: "
<<
alg
.
J
<<
std
::
endl
;
std
::
cout
<<
"tol: "
<<
alg
.
stoppingError
<<
std
::
endl
;
std
::
cout
<<
"stopcrit is error: "
<<
alg
.
stoppingCritIsError
<<
std
::
endl
;
std
::
cout
<<
"relErr: "
<<
alg
.
errIsRel
<<
std
::
endl
;
std
::
cout
<<
"order: "
<<
alg
.
D_order_dir
<<
std
::
endl
;
std
::
cout
<<
"enable_large_Faust: "
<<
alg
.
enable_large_Faust
<<
std
::
endl
;
auto
dLap
=
dynamic_cast
<
MatDense
<
FPP
,
DEVICE
>*>
(
&
alg
.
Lap
);
if
(
dLap
)
std
::
cout
<<
"matrix norm: "
<<
dLap
->
norm
()
<<
std
::
endl
;
else
{
auto
sLap
=
dynamic_cast
<
MatSparse
<
FPP
,
DEVICE
>*>
(
&
alg
.
Lap
);
if
(
sLap
)
std
::
cout
<<
"matrix norm: "
<<
sLap
->
norm
()
<<
std
::
endl
;
}
}
}
template
<
typename
FPP
,
FDevice
DEVICE
,
typename
FPP2
,
typename
FPP4
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment