### OpenCL Hello World Example ### |
|
=========================================================================== |
DESCRIPTION: |
|
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. |
|
For simplicity, this example is intended to be run from the command line. |
If run from within XCode, open the Run Log (Command-Shift-R) to see the |
output. Alternatively, run the applications from within a Terminal.app |
session to launch from the command line. |
|
=========================================================================== |
BUILD REQUIREMENTS: |
|
Mac OS X v10.6 or later |
|
=========================================================================== |
RUNTIME REQUIREMENTS: |
|
Mac OS X v10.6 or later |
|
To use the GPU as a compute device, use one of the following devices: |
- MacBook Pro w/NVidia GeForce 8600M |
- Mac Pro w/NVidia GeForce 8800GT |
|
=========================================================================== |
PACKAGING LIST: |
|
ReadMe.txt |
hello.c |
hello.xcodeproj |
|
=========================================================================== |
CHANGES FROM PREVIOUS VERSIONS: |
|
Version 1.0 |
- First version. |
|
=========================================================================== |
Copyright (C) 2008 Apple Inc. All rights reserved. |