Is there any inbuilt offline compilation method in pocl - Portable Computing Language http://portablecl.org.
The 'pocl-standalone' script can be used (and extended) for this.