add single precision, add aa-vec-sl-soa kernel, updated doc
[LbmBenchmarkKernelsPublic.git] / src / BenchKernelD3Q19AaVecCommon.c
index 57a9faeff5d108c1fe4eddbaef5277051d8ecd08..483cbe770a0c9c893882b70b4c3cbb811dfa4d37 100644 (file)
@@ -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;
This page took 0.049618 seconds and 5 git commands to generate.