HN user

kylelutz

10 karma

https://github.com/kylelutz

Posts10
Comments6
View on HN

If you're using C++, check out Boost.Compute [1]. It provides a high-level STL-like API for OpenCL (without preventing you from directly using the low-level OpenCL APIs). It simplifies common tasks such as copying data to/from the device and also provides a number of built-in algorithms (e.g. sorting/reducing/transforming, etc).

[1] https://github.com/kylelutz/compute

Boost.Compute (https://github.com/kylelutz/compute) - A C++ GPU Computing Library for OpenCL

It's cool because it offers C++ developers an easy path to running code on GPUs and multi-core CPUs via an STL-like API. It's similar to NVIDIA's Thrust library but supports all OpenCL compatible devices (including AMD GPUs and Intel CPUs/accelerators).

Documentation is here: http://kylelutz.github.io/compute/

P.S. It's still under active development and we're looking for more contributors with an interest in parallel computing and C++. Send me an e-mail if you're interested!