"vscode:/vscode.git/clone" did not exist on "def4e3a9706d41e4a09a15166fb3d919e277bc4e"
Commit a3a17da1 authored by peastman's avatar peastman
Browse files

Include PME optimization for OpenCL on CPU

parent f2e734dc
......@@ -226,6 +226,8 @@ __kernel void gridSpreadCharge(__global const real4* restrict posq, __global con
#else
const real charge = pos.w;
#endif
if (charge == 0)
continue;
bool hasComputedThetas = false;
for (int ix = 0; ix < PME_ORDER; ix++) {
int xindex = gridIndex.x+ix;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment