Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
a3a17da1
Commit
a3a17da1
authored
Feb 06, 2018
by
peastman
Browse files
Include PME optimization for OpenCL on CPU
parent
f2e734dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
platforms/opencl/src/kernels/pme.cl
platforms/opencl/src/kernels/pme.cl
+2
-0
No files found.
platforms/opencl/src/kernels/pme.cl
View file @
a3a17da1
...
@@ -226,6 +226,8 @@ __kernel void gridSpreadCharge(__global const real4* restrict posq, __global con
...
@@ -226,6 +226,8 @@ __kernel void gridSpreadCharge(__global const real4* restrict posq, __global con
#
else
#
else
const
real
charge
=
pos.w
;
const
real
charge
=
pos.w
;
#
endif
#
endif
if
(
charge
==
0
)
continue
;
bool
hasComputedThetas
=
false
;
bool
hasComputedThetas
=
false
;
for
(
int
ix
=
0
; ix < PME_ORDER; ix++) {
for
(
int
ix
=
0
; ix < PME_ORDER; ix++) {
int
xindex
=
gridIndex.x+ix
;
int
xindex
=
gridIndex.x+ix
;
...
...
Write
Preview
Markdown
is supported
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