CLOP - a language for OpenCL OPtimizations

CLOP is a domain specific language for separating an algorithm from the device specific optimizations that improve the performance of the algorithm on the device. The CLOP implementation uses the D programming language as its host language. The CLOP syntax is similar to, but not restricted by the syntax of D. CLOP fragments embedded in the application code allow to refer to the objects defined in the host application.

Source Code

Check out the CLOP GitHub repository.