Hi, I wrote small and compact the OpenCL C++ wrapper library few months ago.
It is available at https://github.com/matszpk/clpp.
This library is single header file that supports:
- OpenCL 1.0, 1.1, 1.2 and 2.0,
- C++, C++11 languages,
- error handling by C++ exceptions
- safe memory mapping mechanism
- OpenCL-OpenGL interoperability
- MS Visual Studio 2011 and later compatible
Project has a documentation (just use doxygen to generate it).
Samples available inside project repository (just in ‘samples’ directory).