Skip to content
GitLab
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
ddf35b57
Commit
ddf35b57
authored
Mar 13, 2015
by
BRAMAS Berenger
Browse files
Should do P2P until counter in opencl
parent
2193648b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Src/GroupTree/OpenCl/FTestKernel.cl
View file @
ddf35b57
...
...
@@ -458,7 +458,7 @@ void P2P(const int3 pos,
return
;// TODO
long
long
cumul
=
sources.nbParticles-1
;
for
(
int
idxNeigh
=
0
; idxNeigh <
27
; ++idxNeigh){
for
(
int
idxNeigh
=
0
; idxNeigh <
counter
; ++idxNeigh){
if
(
FOpenCLGroupAttachedLeaf_isAttachedToSomething
(
&directNeighborsParticles[idxNeigh]
))
{
cumul
+=
directNeighborsParticles[idxNeigh].nbParticles
;
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment