« on: August 30, 2011, 09:58:42 PM »
Offline Compilation Using the OpenCL Compiler
Version 1.0, 2011-08-23
Demonstrates using the OpenCL offline compiler to produce and utilize bitcode for CPU and GPU devices.
Xcode 4.0 or later, Mac OS X v10.7 or later
Mac OS X v10.7 or later
This sample demonstrates how developers can utilize the OpenCL offline compiler to transform their human-readable OpenCL source files into shippable bitcode. It includes an example Makefile that demonstrates how to invoke the compiler, and a self-contained OpenCL program that shows how to build a program from the generated bitcode. The sample covers the case of using bitcode on 64 and 32 bit CPU devices, as well as 32 bit GPU devices.