• DocumentCode
    1827044
  • Title

    Directive-based Programming for GPUs: A Comparative Study

  • Author

    Reyes, Ruymán ; López, Ivan ; Fumero, Juan J. ; De Sande, Francisco

  • Author_Institution
    Dept. de EIO y Comput., Univ. de La Laguna, La Laguna, Spain
  • fYear
    2012
  • fDate
    25-27 June 2012
  • Firstpage
    410
  • Lastpage
    417
  • Abstract
    GPUs and other accelerators are available on many different devices, while GPGPU has been massively adopted by the HPC research community. Although a plethora of libraries and applications providing GPU support are available, the need of implementing new algorithms from scratch, or adapting sequential programs to accelerators, will always exist. Writing CUDA or OpenCL codes, although an easier task than using their predecessors, is not trivial. Obtaining performance is even harder, as it requires deep understanding of the underlying architecture. Some efforts have been directed toward the automatic code generation for GPU devices, with different results. In particular, several directive-oriented programming models, taking advantage of the OpenMP success, have been created. Although future OpenMP releases will integrate accelerators into the standard, tools are needed in the meantime. In this work, we present a comparison between three directive-based programming models: hiCUDA, PGI Accelerator and OpenACC, using for the last our novel accULL implementation. With this comparison, we aim to showcase the evolution of the directive-based programming models and how users can guide tools toward better performance results.
  • Keywords
    graphics processing units; multiprocessing systems; parallel architectures; program compilers; GPGPU; HPC; OpenACC; OpenMP; PGI accelerator; accULL; automatic code generation; directive-based programming model; hiCUDA; scratch; Graphics processing unit; Kernel; Performance evaluation; Programming; Runtime; Standards; Accelerators; CUDA; GPGPU; OpenACC; OpenCL; OpenMP; PGI; compiler; productivity;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    High Performance Computing and Communication & 2012 IEEE 9th International Conference on Embedded Software and Systems (HPCC-ICESS), 2012 IEEE 14th International Conference on
  • Conference_Location
    Liverpool
  • Print_ISBN
    978-1-4673-2164-8
  • Type

    conf

  • DOI
    10.1109/HPCC.2012.62
  • Filename
    6332201