Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
910b0996
Commit
910b0996
authored
Feb 13, 2015
by
BRAMAS Berenger
Browse files
Debug starpu version
parent
341ca80a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Src/GroupTree/FGroupTaskStarpuAlgorithm.hpp
View file @
910b0996
...
...
@@ -487,13 +487,15 @@ protected:
FAssertLF
(
idxSubGroup
!=
tree
->
getNbCellGroupAtLevel
(
idxLevel
+
1
)
);
FAssertLF
(
(
tree
->
getCellGroup
(
idxLevel
+
1
,
idxSubGroup
)
->
getStartingIndex
()
>>
3
)
==
currentCells
->
getStartingIndex
()
);
}
// Copy at max 8 groups
int
nbSubCellGroups
=
0
;
task
->
dyn_handles
[
nbSubCellGroups
+
1
]
=
handles_up
[
idxLevel
+
1
][
idxSubGroup
];
nbSubCellGroups
+=
1
;
while
(
tree
->
getCellGroup
(
idxLevel
+
1
,
idxSubGroup
)
->
getEndingIndex
()
<=
((
currentCells
->
getEndingIndex
()
<<
3
)
+
7
)
while
(
tree
->
getCellGroup
(
idxLevel
+
1
,
idxSubGroup
)
->
getEndingIndex
()
<=
(((
currentCells
->
getEndingIndex
()
-
1
)
<<
3
)
+
7
)
&&
(
idxSubGroup
+
1
)
!=
tree
->
getNbCellGroupAtLevel
(
idxLevel
+
1
)
&&
tree
->
getCellGroup
(
idxLevel
+
1
,
idxSubGroup
+
1
)
->
getStartingIndex
()
<=
(
currentCells
->
getEndingIndex
()
<<
3
)
+
7
){
&&
tree
->
getCellGroup
(
idxLevel
+
1
,
idxSubGroup
+
1
)
->
getStartingIndex
()
<=
(
(
currentCells
->
getEndingIndex
()
-
1
)
<<
3
)
+
7
){
idxSubGroup
+=
1
;
task
->
dyn_handles
[
nbSubCellGroups
+
1
]
=
handles_up
[
idxLevel
+
1
][
idxSubGroup
];
nbSubCellGroups
+=
1
;
...
...
@@ -587,9 +589,9 @@ protected:
int
nbSubCellGroups
=
0
;
task
->
dyn_handles
[
nbSubCellGroups
+
1
]
=
handles_down
[
idxLevel
+
1
][
idxSubGroup
];
nbSubCellGroups
+=
1
;
while
(
tree
->
getCellGroup
(
idxLevel
+
1
,
idxSubGroup
)
->
getEndingIndex
()
<=
((
currentCells
->
getEndingIndex
()
<<
3
)
+
7
)
while
(
tree
->
getCellGroup
(
idxLevel
+
1
,
idxSubGroup
)
->
getEndingIndex
()
<=
((
(
currentCells
->
getEndingIndex
()
-
1
)
<<
3
)
+
7
)
&&
(
idxSubGroup
+
1
)
!=
tree
->
getNbCellGroupAtLevel
(
idxLevel
+
1
)
&&
tree
->
getCellGroup
(
idxLevel
+
1
,
idxSubGroup
+
1
)
->
getStartingIndex
()
<=
(
currentCells
->
getEndingIndex
()
<<
3
)
+
7
){
&&
tree
->
getCellGroup
(
idxLevel
+
1
,
idxSubGroup
+
1
)
->
getStartingIndex
()
<=
(
(
currentCells
->
getEndingIndex
()
-
1
)
<<
3
)
+
7
){
idxSubGroup
+=
1
;
task
->
dyn_handles
[
nbSubCellGroups
+
1
]
=
handles_down
[
idxLevel
+
1
][
idxSubGroup
];
nbSubCellGroups
+=
1
;
...
...
Src/GroupTree/FGroupTaskStarpuMpiAlgorithm.hpp
View file @
910b0996
...
...
@@ -1006,9 +1006,9 @@ protected:
int
nbSubCellGroups
=
0
;
task
->
dyn_handles
[
nbSubCellGroups
+
1
]
=
handles_up
[
idxLevel
+
1
][
idxSubGroup
];
nbSubCellGroups
+=
1
;
while
(
tree
->
getCellGroup
(
idxLevel
+
1
,
idxSubGroup
)
->
getEndingIndex
()
<=
((
currentCells
->
getEndingIndex
()
<<
3
)
+
7
)
while
(
tree
->
getCellGroup
(
idxLevel
+
1
,
idxSubGroup
)
->
getEndingIndex
()
<=
((
(
currentCells
->
getEndingIndex
()
-
1
)
<<
3
)
+
7
)
&&
(
idxSubGroup
+
1
)
!=
tree
->
getNbCellGroupAtLevel
(
idxLevel
+
1
)
&&
tree
->
getCellGroup
(
idxLevel
+
1
,
idxSubGroup
+
1
)
->
getStartingIndex
()
<=
(
currentCells
->
getEndingIndex
()
<<
3
)
+
7
){
&&
tree
->
getCellGroup
(
idxLevel
+
1
,
idxSubGroup
+
1
)
->
getStartingIndex
()
<=
(
(
currentCells
->
getEndingIndex
()
-
1
)
<<
3
)
+
7
){
idxSubGroup
+=
1
;
task
->
dyn_handles
[
nbSubCellGroups
+
1
]
=
handles_up
[
idxLevel
+
1
][
idxSubGroup
];
nbSubCellGroups
+=
1
;
...
...
@@ -1338,9 +1338,9 @@ protected:
int
nbSubCellGroups
=
0
;
task
->
dyn_handles
[
nbSubCellGroups
+
1
]
=
handles_down
[
idxLevel
+
1
][
idxSubGroup
];
nbSubCellGroups
+=
1
;
while
(
tree
->
getCellGroup
(
idxLevel
+
1
,
idxSubGroup
)
->
getEndingIndex
()
<=
((
currentCells
->
getEndingIndex
()
<<
3
)
+
7
)
while
(
tree
->
getCellGroup
(
idxLevel
+
1
,
idxSubGroup
)
->
getEndingIndex
()
<=
((
(
currentCells
->
getEndingIndex
()
-
1
)
<<
3
)
+
7
)
&&
(
idxSubGroup
+
1
)
!=
tree
->
getNbCellGroupAtLevel
(
idxLevel
+
1
)
&&
tree
->
getCellGroup
(
idxLevel
+
1
,
idxSubGroup
+
1
)
->
getStartingIndex
()
<=
(
currentCells
->
getEndingIndex
()
<<
3
)
+
7
){
&&
tree
->
getCellGroup
(
idxLevel
+
1
,
idxSubGroup
+
1
)
->
getStartingIndex
()
<=
(
(
currentCells
->
getEndingIndex
()
-
1
)
<<
3
)
+
7
){
idxSubGroup
+=
1
;
task
->
dyn_handles
[
nbSubCellGroups
+
1
]
=
handles_down
[
idxLevel
+
1
][
idxSubGroup
];
nbSubCellGroups
+=
1
;
...
...
Write
Preview
Supports
Markdown
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