FLAP: Tool to generate CUDA code from sequential C code

Erika Hernández-Rubio, Amilcar Meneses‐Viveros, Pedro M. Cortes Perez, Sergio D. Hernandez Zavala, Hector M. Martinez Rios · 2014

The GPU usage has increased in the high performance computing applications. However, still programming tools required to facilitate the development of programs for GPUs. It is well known that the loops in sequential programs are potential sources of parallelization. Three types of FOR-loops have been identified that can be mapped to CUDA kernel: single loops, nested loops and loops involving reduction operations. These loops can be mapped to CUDA kernels using patterns. In this work we present FLAP, a tool to generate CUDA parallel code from sequential C code. This tool uses these patterns to generate parallel code CUDA. We present some tests to show the performance of the code that generates FLAP.

Read the paper · More papers on PaperTik