Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
amdis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
Show more breadcrumbs
Backofen, Rainer
amdis
Commits
35c63e58
Commit
35c63e58
authored
16 years ago
by
Thomas Witkowski
Browse files
Options
Downloads
Patches
Plain Diff
* Small bug, if not compiled with openmp
parent
68d44797
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
AMDiS/src/CreatorMap.cc
+2
-0
2 additions, 0 deletions
AMDiS/src/CreatorMap.cc
AMDiS/src/ResidualParallelEstimator.cc
+3
-0
3 additions, 0 deletions
AMDiS/src/ResidualParallelEstimator.cc
AMDiS/src/ResidualParallelEstimator.h
+4
-0
4 additions, 0 deletions
AMDiS/src/ResidualParallelEstimator.h
with
9 additions
and
0 deletions
AMDiS/src/CreatorMap.cc
+
2
−
0
View file @
35c63e58
...
...
@@ -225,8 +225,10 @@ namespace AMDiS {
creator
=
NEW
ResidualEstimator
::
Creator
;
addCreator
(
"residual"
,
creator
);
#ifdef _OPENMP
creator
=
NEW
ResidualParallelEstimator
::
Creator
;
addCreator
(
"residualparallel"
,
creator
);
#endif
creator
=
NEW
RecoveryEstimator
::
Creator
;
addCreator
(
"recovery"
,
creator
);
...
...
This diff is collapsed.
Click to expand it.
AMDiS/src/ResidualParallelEstimator.cc
+
3
−
0
View file @
35c63e58
...
...
@@ -4,6 +4,8 @@
#include
"Parameters.h"
#include
"OpenMP.h"
#ifdef _OPENMP
namespace
AMDiS
{
ResidualParallelEstimator
::
ResidualParallelEstimator
(
::
std
::
string
name
,
int
r
)
:
Estimator
(
name
,
r
),
...
...
@@ -106,3 +108,4 @@ namespace AMDiS {
}
#endif // _OPENMP
This diff is collapsed.
Click to expand it.
AMDiS/src/ResidualParallelEstimator.h
+
4
−
0
View file @
35c63e58
...
...
@@ -26,6 +26,8 @@
#ifndef AMDIS_RESIDUALPARALLELESTIMATOR_H
#define AMDIS_RESIDUALPARALLELESTIMATOR_H
#ifdef _OPENMP
#include
"ResidualEstimator.h"
#include
<vector>
...
...
@@ -106,4 +108,6 @@ namespace AMDiS {
}
#endif // _OPENMP
#endif // AMDIS_RESIDUALPARALLELESTIMATOR_H
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