Fix openCL mode