Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
ScalFMM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container 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
Show more breadcrumbs
solverstack
ScalFMM
Commits
b078ac09
Commit
b078ac09
authored
9 years ago
by
BRAMAS Berenger
Browse files
Options
Downloads
Patches
Plain Diff
udpate starpu priorities
parent
f418fddd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Src/GroupTree/StarPUUtils/FStarPUFmmPriorities.hpp
+11
-10
11 additions, 10 deletions
Src/GroupTree/StarPUUtils/FStarPUFmmPriorities.hpp
with
11 additions
and
10 deletions
Src/GroupTree/StarPUUtils/FStarPUFmmPriorities.hpp
+
11
−
10
View file @
b078ac09
...
...
@@ -61,11 +61,7 @@ public:
if
(
inTreeHeight
>
2
){
int
incPrio
=
0
;
prioP2MSend
=
incPrio
++
;
prioP2M
=
incPrio
++
;
prioM2MSend
=
incPrio
++
;
prioM2M
=
incPrio
++
;
prioL2P
=
incPrio
++
;
prioM2L
=
incPrio
;
prioM2LExtern
=
incPrio
;
...
...
@@ -76,11 +72,16 @@ public:
incPrio
+=
(
treeHeight
-
2
)
-
1
// M2L is done treeHeight-2 times
+
(
treeHeight
-
3
)
-
1
;
// L2L is done treeHeight-3 times
prioM2M
=
incPrio
++
;
prioM2MSend
=
incPrio
++
;
prioP2M
=
incPrio
++
;
prioP2MSend
=
incPrio
++
;
prioP2P
=
incPrio
;
prioP2PExtern
=
incPrio
;
prioP2PMpi
=
incPrio
++
;
prioL2P
=
incPrio
++
;
assert
(
incPrio
==
6
+
(
treeHeight
-
2
)
+
(
treeHeight
-
3
));
}
else
{
...
...
@@ -324,13 +325,13 @@ public:
return
willBeSend
?
prioM2MSend
:
prioM2M
;
}
int
getPrioM2L
(
const
int
inLevel
)
const
{
return
prioM2L
+
(
inLevel
-
2
)
*
2
;
return
prioM2L
+
(
treeHeight
-
inLevel
-
1
)
*
2
;
}
int
getPrioM2LExtern
(
const
int
inLevel
)
const
{
return
prioM2LExtern
+
(
inLevel
-
2
)
*
2
;
return
prioM2LExtern
+
(
treeHeight
-
inLevel
-
1
)
*
2
;
}
int
getPrioL2L
(
const
int
inLevel
)
const
{
return
prioL2L
+
(
inLevel
-
2
)
*
2
;
return
prioL2L
+
(
treeHeight
-
inLevel
-
1
)
*
2
;
}
int
getPrioL2P
()
const
{
return
prioL2P
;
...
...
@@ -342,7 +343,7 @@ public:
return
prioP2PExtern
;
}
int
getPrioM2LMpi
(
const
int
inLevel
)
const
{
return
prioM2LMpi
+
(
inLevel
-
2
)
*
2
;
return
prioM2LMpi
+
(
treeHeight
-
inLevel
-
1
)
*
2
;
}
int
getPrioP2PMpi
()
const
{
return
prioP2PMpi
;
...
...
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