Last Revision: | Version 1.3, 2009-12-07 Resolved 64-bit build issue by passing sizeof(size_t) instead of sizeof(int) to clGetKernelWorkGroupInfo. (Full Revision History) |
Build Requirements: | Mac OS X 10.6, Xcode 3.2 |
Runtime Requirements: | Mac OS X 10.6 |
A simple "Hello World" compute example showing basic usage of OpenCL which calculates the mathematical square (X[i] = pow(X[i],2)) for a buffer of floating point values.
Last updated: 2009-12-07