Use logger.warn in OpenCL