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
2b940434
Commit
2b940434
authored
13 years ago
by
BRAMAS Berenger
Browse files
Options
Downloads
Patches
Plain Diff
Remove default(none) clause in fmm tasks because of a compiler error under gcc on plafrim
parent
517382f1
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/Core/FFmmAlgorithmTask.hpp
+5
-5
5 additions, 5 deletions
Src/Core/FFmmAlgorithmTask.hpp
with
5 additions
and
5 deletions
Src/Core/FFmmAlgorithmTask.hpp
+
5
−
5
View file @
2b940434
...
...
@@ -113,7 +113,7 @@ private:
do
{
// We need the current cell that represent the leaf
// and the list of particles
#pragma omp task
default(none)
firstprivate(octreeIterator)
#pragma omp task firstprivate(octreeIterator)
{
kernels
[
omp_get_thread_num
()]
->
P2M
(
octreeIterator
.
getCurrentCell
()
,
octreeIterator
.
getCurrentListSrc
());
}
...
...
@@ -154,7 +154,7 @@ private:
do
{
// We need the current cell and the child
// child is an array (of 8 child) that may be null
#pragma omp task
default(none)
firstprivate(octreeIterator) shared(idxLevel)
#pragma omp task firstprivate(octreeIterator) shared(idxLevel)
{
kernels
[
omp_get_thread_num
()]
->
M2M
(
octreeIterator
.
getCurrentCell
()
,
octreeIterator
.
getCurrentChild
(),
idxLevel
);
}
...
...
@@ -202,7 +202,7 @@ private:
do
{
int
counter
=
tree
->
getInteractionNeighbors
(
neighbors
,
octreeIterator
.
getCurrentGlobalCoordinate
(),
idxLevel
);
if
(
counter
){
#pragma omp task
default(none)
firstprivate(octreeIterator, neighbors, counter) shared(idxLevel)
#pragma omp task firstprivate(octreeIterator, neighbors, counter) shared(idxLevel)
{
kernels
[
omp_get_thread_num
()]
->
M2L
(
octreeIterator
.
getCurrentCell
()
,
neighbors
,
counter
,
idxLevel
);
}
...
...
@@ -254,7 +254,7 @@ private:
FDEBUG
(
FTic
counterTimeLevel
);
// for each cells
do
{
#pragma omp task
default(none)
firstprivate(octreeIterator) shared(idxLevel)
#pragma omp task firstprivate(octreeIterator) shared(idxLevel)
{
kernels
[
omp_get_thread_num
()]
->
L2L
(
octreeIterator
.
getCurrentCell
()
,
octreeIterator
.
getCurrentChild
(),
idxLevel
);
}
...
...
@@ -316,7 +316,7 @@ private:
const
int
nbLeaf
=
shapes
[
idxShape
].
getSize
();
for
(
int
iterLeaf
=
0
;
iterLeaf
<
nbLeaf
;
++
iterLeaf
){
typename
OctreeClass
::
Iterator
toWork
=
shapes
[
idxShape
][
iterLeaf
];
#pragma omp task
default(none)
firstprivate(neighbors, toWork)
#pragma omp task firstprivate(neighbors, toWork)
{
kernels
[
omp_get_thread_num
()]
->
L2P
(
toWork
.
getCurrentCell
(),
toWork
.
getCurrentListTargets
());
const
int
counter
=
tree
->
getLeafsNeighbors
(
neighbors
,
toWork
.
getCurrentGlobalCoordinate
(),
heightMinusOne
);
...
...
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