moved kernel to a separate .cl file