Changed kernel to use image2d_t