Commit 53d1c90e authored by Peter Eastman's avatar Peter Eastman
Browse files

Bug fix in AMD code

parent 97c767f8
......@@ -54,6 +54,7 @@ void computeN2Energy(__global float4* forceBuffers, __global float* energyBuffer
unsigned int forceBufferOffset = (tgx < TILE_SIZE/2 ? 0 : TILE_SIZE);
unsigned int atom1 = x*TILE_SIZE + tgx;
float4 force = 0.0f;
DECLARE_ATOM1_DERIVATIVES
float4 posq1 = posq[atom1];
LOAD_ATOM1_PARAMETERS
......
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