KIAM Main page Web Library  •  Publication Searh  Русский 
Publication

KIAM Preprint № 51, Moscow, 2022
Authors: Krasnov M.M., Feodoritova O.B.
The use of functional programming library to parallelize on graphics accelerators with CUDA technology
Abstract:
Modern graphics accelerators (GPUs) can significantly speed up the execution of numerical tasks. However, porting programs to graphics accelerators is not an easy task, sometimes requiring their almost complete rewriting. CUDA graphics accelerators, thanks to technology developed by NVIDIA, allow you to have a single source code for both conventional processors (CPUs) and CUDA. However, in this single source code, you need to somehow tell the compiler which parts of this code to parallelize on shared memory. The use of the functional programming library developed by the authors allows you to hide the use of one or another parallelization mechanism on shared memory within the library and make the user source code completely independent of the computing device used (CPU or CUDA). This article shows how this can be done.
Keywords:
C++, functional programming library library, CUDA, OpenMP, OpenCL, OpenACC
Publication language: russian,  pages: 36
Research direction:
Programming, parallel computing, multimedia
Russian source text:
Export link to publication in format:   RIS    BibTeX
View statistics (updated once a day)
over the last 30 days — 5 (-3), total hit from 22.09.2022 — 288
About authors:
  • Krasnov Mikhail Mikhailovich,  orcid.org/0000-0001-7988-6323KIAM RAS
  • Feodoritova Olga Borisovna,  orcid.org/0000-0002-2792-9376KIAM RAS