Add KNC to api
Fix trivial warnings in knc driver.