SKEPU is a C++ based skeleton programming framework targeting CPUs and GPUs.
The framework (currently at version 1.0) may downloaded from the SKEPU web page, where source code and documentation are available.
This is the code used to introduce the framework:
When programming a map kernel on the GPU using CUDA rather SKEPU, a code similar to the one shown here should be used. You may appreciate the difference with the kind of code needed in SKEPU.