X-Git-Url: http://git.rrze.uni-erlangen.de/gitweb/?p=LbmBenchmarkKernelsPublic.git;a=blobdiff_plain;f=src%2FBenchKernelD3Q19AaVecCommon.c;h=483cbe770a0c9c893882b70b4c3cbb811dfa4d37;hp=57a9faeff5d108c1fe4eddbaef5277051d8ecd08;hb=0fde6e45e9be83893afae896cf49a799777f6d7c;hpb=712d0b8fc4a382e1cfe4edef8b0ade11b0a2ce25 diff --git a/src/BenchKernelD3Q19AaVecCommon.c b/src/BenchKernelD3Q19AaVecCommon.c index 57a9fae..483cbe7 100644 --- a/src/BenchKernelD3Q19AaVecCommon.c +++ b/src/BenchKernelD3Q19AaVecCommon.c @@ -332,7 +332,7 @@ void FNAME(D3Q19AaVecInit)(LatticeDesc * ld, KernelData ** kernelData, Parameter gDims[0] = lDims[0] + 2; gDims[1] = lDims[1] + 2; // TODO: fix this for aa-vec2-soa - gDims[2] = lDims[2] + 4; // one ghost cell in front, one in the back, plus at most two at the back for VSIZE = 4 + gDims[2] = lDims[2] + 2 + VSIZE - 2; // one ghost cell in front, one in the back, plus at most two at the back for VSIZE = 4 kd->Offsets[0] = 1; kd->Offsets[1] = 1;