### OpenCL Parallel Reduction Example ###

===========================================================================
DESCRIPTION:

This example performs an NBody simulation which calculates a gravity field 
and corresponding velocity and acceleration contributions accumulated 
by each body in the system from every other body.  This example
also shows how to mitigate computation between all available devices
including CPU and GPU devices, as well as a hybrid combination of both,
using separate threads for each simulator.

Click on the corresponding buttons to select the active simulation 
and render devices, and/or press the following keyboard shortcuts:

1-6:    Select an N-Body System Configuration
g:      Select the next Graphics Device
s:      Select the next Simulation Device
r:      Enable/Disable Auto Rotation
d:      Show/Hide Dock UI
h:      Show/Hide HUD UI
u:      Show/Hide Simulation Updates Meter
f:      Show/Hide FPS Meter
space:  Pause/Unpause Simulation

Note that the .cl compute kernel file(s) are loaded and compiled at
runtime.  The example source assumes that these files are in the same 
path as the built executable.

===========================================================================
BUILD REQUIREMENTS:

Mac OS X v10.6 or later with OpenCL 1.0

===========================================================================
RUNTIME REQUIREMENTS:

Mac OS X v10.6 or later with OpenCL 1.0

===========================================================================
PACKAGING LIST:

English.lproj
Galaxies.xcodeproj
GalaxiesView.h
GalaxiesView.mm
Galaxies_Prefix.pch
GalaxyIcon.icns
Info.plist
MainMenu.xib
NSViewTexture.h
NSViewTexture.m
ReadMe.txt
bodies_16k.dat
bodies_24k.dat
bodies_32k.dat
bodies_64k.dat
bodies_80k.dat
constants.h
counter.cpp
counter.h
data.cpp
data.h
graphics.cpp
graphics.h
hud.cpp
hud.h
main.mm
nbody.cl
nbody.cpp
nbody.fsh
nbody.gsh
nbody.h
nbody.vsh
nbody_cpu.cl
nbody_gpu.cl
randomize.cpp
randomize.h
simulation.cpp
simulation.h
star.fsh
star.png
star.raw
star.vsh
timing.h
types.cpp
types.h

===========================================================================
CHANGES FROM PREVIOUS VERSIONS:

Version 1.0
- First version.

===========================================================================
Copyright (C) 2008 Apple Inc. All rights reserved.
