Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
ExaHyPE-Engine
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
68
Issues
68
List
Boards
Labels
Service Desk
Milestones
Iterations
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Insights
Issue
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
ExaHyPE
ExaHyPE-Engine
Commits
9ce3e90a
Commit
9ce3e90a
authored
Apr 08, 2020
by
Phillip Samfass
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed job table dependency with local recompute
parent
68c9c879
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
ExaHyPE/exahype/runners/Runner.cpp
ExaHyPE/exahype/runners/Runner.cpp
+1
-1
ExaHyPE/exahype/solvers/ADERDGSolver.cpp
ExaHyPE/exahype/solvers/ADERDGSolver.cpp
+7
-1
ExaHyPE/exahype/solvers/ADERDGSolver.h
ExaHyPE/exahype/solvers/ADERDGSolver.h
+1
-1
No files found.
ExaHyPE/exahype/runners/Runner.cpp
View file @
9ce3e90a
...
@@ -1068,7 +1068,7 @@ int exahype::runners::Runner::run() {
...
@@ -1068,7 +1068,7 @@ int exahype::runners::Runner::run() {
#if defined(TaskSharing)
#if defined(TaskSharing)
static_cast
<
exahype
::
solvers
::
ADERDGSolver
*>
(
solver
)
->
finishOutstandingInterTeamCommunication
();
static_cast
<
exahype
::
solvers
::
ADERDGSolver
*>
(
solver
)
->
finishOutstandingInterTeamCommunication
();
#endif
#endif
#if defined(TaskSharing)
|| defined(OffloadingLocalRecompute)
#if defined(TaskSharing)
static_cast
<
exahype
::
solvers
::
ADERDGSolver
*>
(
solver
)
->
cleanUpStaleTaskOutcomes
(
true
);
static_cast
<
exahype
::
solvers
::
ADERDGSolver
*>
(
solver
)
->
cleanUpStaleTaskOutcomes
(
true
);
#endif
#endif
#endif
#endif
...
...
ExaHyPE/exahype/solvers/ADERDGSolver.cpp
View file @
9ce3e90a
...
@@ -95,6 +95,7 @@ int exahype::solvers::ADERDGSolver::mergeNeighboursHandle = 0;
...
@@ -95,6 +95,7 @@ int exahype::solvers::ADERDGSolver::mergeNeighboursHandle = 0;
int
exahype
::
solvers
::
ADERDGSolver
::
prolongateFaceDataToVirtualCellHandle
=
0
;
int
exahype
::
solvers
::
ADERDGSolver
::
prolongateFaceDataToVirtualCellHandle
=
0
;
int
exahype
::
solvers
::
ADERDGSolver
::
restrictToTopMostParentHandle
=
0
;
int
exahype
::
solvers
::
ADERDGSolver
::
restrictToTopMostParentHandle
=
0
;
//Todo(Philipp) : remove unused
int
exahype
::
solvers
::
ADERDGSolver
::
event_stp
=
0
;
int
exahype
::
solvers
::
ADERDGSolver
::
event_stp
=
0
;
int
exahype
::
solvers
::
ADERDGSolver
::
event_stp_remote
=
0
;
int
exahype
::
solvers
::
ADERDGSolver
::
event_stp_remote
=
0
;
int
exahype
::
solvers
::
ADERDGSolver
::
event_stp_local_replica
=
0
;
int
exahype
::
solvers
::
ADERDGSolver
::
event_stp_local_replica
=
0
;
...
@@ -492,6 +493,8 @@ void exahype::solvers::ADERDGSolver::wrapUpTimeStep(const bool isFirstTimeStepOf
...
@@ -492,6 +493,8 @@ void exahype::solvers::ADERDGSolver::wrapUpTimeStep(const bool isFirstTimeStepOf
#if defined(DistributedOffloading) && (defined(TaskSharing) || defined(OffloadingLocalRecompute))
#if defined(DistributedOffloading) && (defined(TaskSharing) || defined(OffloadingLocalRecompute))
exahype
::
offloading
::
JobTableStatistics
::
getInstance
().
printStatistics
();
exahype
::
offloading
::
JobTableStatistics
::
getInstance
().
printStatistics
();
#endif
#if defined(DistributedOffloading) && defined(TaskSharing)
cleanUpStaleTaskOutcomes
();
cleanUpStaleTaskOutcomes
();
#endif
#endif
}
}
...
@@ -2473,9 +2476,12 @@ void exahype::solvers::ADERDGSolver::toString (std::ostream& out) const {
...
@@ -2473,9 +2476,12 @@ void exahype::solvers::ADERDGSolver::toString (std::ostream& out) const {
out
<<
")"
;
out
<<
")"
;
}
}
///////////////////////////////////
// DISTRIBUTED OFFLOADING
///////////////////////////////////
#if defined(DistributedOffloading)
#if defined(DistributedOffloading)
#if defined (TaskSharing) || defined(OffloadingLocalRecompute)
#if defined (TaskSharing)
//
|| defined(OffloadingLocalRecompute)
void
exahype
::
solvers
::
ADERDGSolver
::
cleanUpStaleTaskOutcomes
(
bool
isFinal
)
{
void
exahype
::
solvers
::
ADERDGSolver
::
cleanUpStaleTaskOutcomes
(
bool
isFinal
)
{
int
unsafe_size
=
_allocatedJobs
.
unsafe_size
();
int
unsafe_size
=
_allocatedJobs
.
unsafe_size
();
assertion
(
unsafe_size
>=
0
);
assertion
(
unsafe_size
>=
0
);
...
...
ExaHyPE/exahype/solvers/ADERDGSolver.h
View file @
9ce3e90a
...
@@ -1197,7 +1197,7 @@ private:
...
@@ -1197,7 +1197,7 @@ private:
bool
run
(
bool
calledFromMaster
)
override
;
bool
run
(
bool
calledFromMaster
)
override
;
};
};
#if defined(TaskSharing) || defined(OffloadingLocalRecompute) //Todo(Philipp): do we still need this for local recompute?
#if defined(TaskSharing)
//
|| defined(OffloadingLocalRecompute) //Todo(Philipp): do we still need this for local recompute?
static
int
REQUEST_JOB_CANCEL
;
static
int
REQUEST_JOB_CANCEL
;
static
int
REQUEST_JOB_ACK
;
static
int
REQUEST_JOB_ACK
;
...
...
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