Added ChunkKernel, InterChunkKernel and clearBuffer kernel.