GPU Histogram

Last Revision:
Version 1.0, 2010-01-04
Demonstrates implementing a histogram on GPU
Build Requirements:
Mac OS X 10.6
Runtime Requirements:
Mac OS X 10.6, OpenCL 1.0 compliant hardware with support for the cl_khr_local_int32_base_atomics extension.

OpenCL SDK example that demonstrates implementing a histogram on GPU. Versions of histogram kernels are implemented that work with buffers and images as inputs. The input buffer/image can be RGBA 8-bit/channel, RGBA half-float/channel or RGBA float/channel.