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
48de5ca0
Commit
48de5ca0
authored
10 years ago
by
Quentin Khan
Browse files
Options
Downloads
Patches
Plain Diff
FFmmAlgorithmThread: Added omp schedule param doc.
FFmmAlgorithmTask: Added inheritance from FAlgorithmTimers.
parent
ffc47e35
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/Core/FFmmAlgorithmTask.hpp
+25
-10
25 additions, 10 deletions
Src/Core/FFmmAlgorithmTask.hpp
Src/Core/FFmmAlgorithmThread.hpp
+1
-0
1 addition, 0 deletions
Src/Core/FFmmAlgorithmThread.hpp
with
26 additions
and
10 deletions
Src/Core/FFmmAlgorithmTask.hpp
+
25
−
10
View file @
48de5ca0
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
* Of course this class does not deallocate pointer given in arguements.
* Of course this class does not deallocate pointer given in arguements.
*/
*/
template
<
class
OctreeClass
,
class
CellClass
,
class
ContainerClass
,
class
KernelClass
,
class
LeafClass
>
template
<
class
OctreeClass
,
class
CellClass
,
class
ContainerClass
,
class
KernelClass
,
class
LeafClass
>
class
FFmmAlgorithmTask
:
public
FAbstractAlgorithm
{
class
FFmmAlgorithmTask
:
public
FAbstractAlgorithm
,
public
FAlgorithmTimers
{
OctreeClass
*
const
tree
;
//< The octree to work on
OctreeClass
*
const
tree
;
//< The octree to work on
KernelClass
**
kernels
;
//< The kernels
KernelClass
**
kernels
;
//< The kernels
...
@@ -92,15 +92,30 @@ protected:
...
@@ -92,15 +92,30 @@ protected:
*/
*/
void
executeCore
(
const
unsigned
operationsToProceed
)
override
{
void
executeCore
(
const
unsigned
operationsToProceed
)
override
{
if
(
operationsToProceed
&
FFmmP2M
)
bottomPass
();
Timers
[
P2MTimer
].
tic
();
if
(
operationsToProceed
&
FFmmP2M
)
if
(
operationsToProceed
&
FFmmM2M
)
upwardPass
();
bottomPass
();
Timers
[
P2MTimer
].
tac
();
if
(
operationsToProceed
&
FFmmM2L
)
transferPass
();
Timers
[
M2MTimer
].
tic
();
if
(
operationsToProceed
&
FFmmL2L
)
downardPass
();
if
(
operationsToProceed
&
FFmmM2M
)
upwardPass
();
if
((
operationsToProceed
&
FFmmP2P
)
||
(
operationsToProceed
&
FFmmL2P
))
directPass
((
operationsToProceed
&
FFmmP2P
),(
operationsToProceed
&
FFmmL2P
));
Timers
[
M2MTimer
].
tac
();
Timers
[
M2LTimer
].
tic
();
if
(
operationsToProceed
&
FFmmM2L
)
transferPass
();
Timers
[
M2LTimer
].
tac
();
Timers
[
L2LTimer
].
tic
();
if
(
operationsToProceed
&
FFmmL2L
)
downardPass
();
Timers
[
L2LTimer
].
tac
();
Timers
[
NearTimer
].
tic
();
if
(
(
operationsToProceed
&
FFmmP2P
)
||
(
operationsToProceed
&
FFmmL2P
)
)
directPass
((
operationsToProceed
&
FFmmP2P
),(
operationsToProceed
&
FFmmL2P
));
Timers
[
NearTimer
].
tac
();
}
}
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
...
...
This diff is collapsed.
Click to expand it.
Src/Core/FFmmAlgorithmThread.hpp
+
1
−
0
View file @
48de5ca0
...
@@ -78,6 +78,7 @@ public:
...
@@ -78,6 +78,7 @@ public:
* The constructor needs the octree and the kernels used for computation.
* The constructor needs the octree and the kernels used for computation.
* \param inTree the octree to work on.
* \param inTree the octree to work on.
* \param inKernels the kernels to call.
* \param inKernels the kernels to call.
* \param inStaticSchedule Whether to use static or dynamic OpenMP scheduling.
*
*
* \except An exception is thrown if one of the arguments is NULL.
* \except An exception is thrown if one of the arguments is NULL.
*/
*/
...
...
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