Coded OpenCL stencil kernel with and without images