HyCuda
A Hybrid Framework Code-Generator for CUDA

Joren Heit


Abstract:

This article descibes the HyCuda code-generator, that generates a Hybrid algorithm-framework that can be integrated in any C++(11) project. The framework implements a template metaprogramming mechanism that takes care of all memory-transfers, based on an input-file that describes the specifics of the algorithm. No extra care has to be taken when it is decided that a subroutine needs to be executed on a different device. Also, due to the compile-time nature of template metaprogramming, there is no overhead in deciding which routines (CPU- or GPU-code) to call (i.e. no runtime conditionals).





Joren Heit 2013-12-17