Commit c178e2c1 authored by Peter Eastman's avatar Peter Eastman
Browse files

Minor cleanup

parent 6bea0a80
...@@ -100,9 +100,9 @@ void storeInteractionData(__local ushort2* buffer, __local int* valid, __local s ...@@ -100,9 +100,9 @@ void storeInteractionData(__local ushort2* buffer, __local int* valid, __local s
// Load an atom position and the bounding box the other block. // Load an atom position and the bounding box the other block.
#ifdef MAC_AMD_WORKAROUND
int box = (group == 0 ? x : y); int box = (group == 0 ? x : y);
int atom = (group == 0 ? y : x)*TILE_SIZE+index; int atom = (group == 0 ? y : x)*TILE_SIZE+index;
#ifdef MAC_AMD_WORKAROUND
__global float* bc = (__global float*) blockCenter; __global float* bc = (__global float*) blockCenter;
__global float* bb = (__global float*) blockBoundingBox; __global float* bb = (__global float*) blockBoundingBox;
__global float* ps = (__global float*) posq; __global float* ps = (__global float*) posq;
......
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