Double-buffering stencil in host memory to reduce latency