work in progress for open cl driver.