Achieving Natural Mathematical Expression Programming on GPUs via Expression Templates

Alfonso Breglia, Amedeo Capozzoli, Claudio Curcio, Angelo Liseno · 2013

We present the development of one of the first libraries based on the so-called expression templates technique to simplify the implementation of CPU and parallel GPU codes. Expression templates allow to express matrix algebra operations to be executed either on the CPU or on the GPU with a syntax very close to the natural mathematical one. The developed library has been deeply optimized so that the same performance of standard C/C++ or CUDA codings is kept.

Read the paper · More papers on PaperTik