Performance comparison of CPU and GPGPU calculations using three simple case studies

In this work, we have prepared and analyzed three case studies comparing CPU and GPGPU calculations. After briefly introducing the topic of parallel programming by means of contemporary CPU and GPGPU technologies, we provide an overview of selected existing works closely related to the topic of th...

Full description

Bibliographic Details
Main Authors: Branislav Lipovsky, Slavomir Simonak
Format: Article
Language:English
Published: Vladimir Andrunachievici Institute of Mathematics and Computer Science 2023-04-01
Series:Computer Science Journal of Moldova
Subjects:
Online Access:http://www.math.md/files/csjm/v31-n1/v31-n1-(pp125-140).pdf
_version_ 1797847565061849088
author Branislav Lipovsky
Slavomir Simonak
author_facet Branislav Lipovsky
Slavomir Simonak
author_sort Branislav Lipovsky
collection DOAJ
description In this work, we have prepared and analyzed three case studies comparing CPU and GPGPU calculations. After briefly introducing the topic of parallel programming by means of contemporary CPU and GPGPU technologies, we provide an overview of selected existing works closely related to the topic of the paper. For each of the case studies, a set of programs has been implemented using the following technologies: pure CPU, CPU SIMD, CPU multi-threaded, CPU multi-threaded with SIMD instructions, and GPU - Cuda. We also illustrate the basic idea of the operation of selected algorithms using code snippets. Subsequently, the particular implementations are compared, and obtained results are evaluated and discussed.
first_indexed 2024-04-09T18:13:29Z
format Article
id doaj.art-6c962b696c324bdc8d8ca7c22287b05b
institution Directory Open Access Journal
issn 1561-4042
2587-4330
language English
last_indexed 2024-04-09T18:13:29Z
publishDate 2023-04-01
publisher Vladimir Andrunachievici Institute of Mathematics and Computer Science
record_format Article
series Computer Science Journal of Moldova
spelling doaj.art-6c962b696c324bdc8d8ca7c22287b05b2023-04-13T10:59:22ZengVladimir Andrunachievici Institute of Mathematics and Computer ScienceComputer Science Journal of Moldova1561-40422587-43302023-04-01311(91)125140https://doi.org/10.56415/csjm.v31.07Performance comparison of CPU and GPGPU calculations using three simple case studiesBranislav Lipovsky0https://orcid.org/0000-0001-7079-7519Slavomir Simonak1https://orcid.org/0000-0001-6505-3160Department of Computers and Informatics, Faculty of Electrical Engineering and Informatics, Technical University of Kosice, Letna 9, 042 00 Kosice, Slovak RepublicDepartment of Computers and Informatics, Faculty of Electrical Engineering and Informatics, Technical University of Kosice, Letna 9, 042 00 Kosice, Slovak RepublicIn this work, we have prepared and analyzed three case studies comparing CPU and GPGPU calculations. After briefly introducing the topic of parallel programming by means of contemporary CPU and GPGPU technologies, we provide an overview of selected existing works closely related to the topic of the paper. For each of the case studies, a set of programs has been implemented using the following technologies: pure CPU, CPU SIMD, CPU multi-threaded, CPU multi-threaded with SIMD instructions, and GPU - Cuda. We also illustrate the basic idea of the operation of selected algorithms using code snippets. Subsequently, the particular implementations are compared, and obtained results are evaluated and discussed.http://www.math.md/files/csjm/v31-n1/v31-n1-(pp125-140).pdfcudamulti-threadingsimdmatrix multiplicationsobel operatortemplate matching
spellingShingle Branislav Lipovsky
Slavomir Simonak
Performance comparison of CPU and GPGPU calculations using three simple case studies
Computer Science Journal of Moldova
cuda
multi-threading
simd
matrix multiplication
sobel operator
template matching
title Performance comparison of CPU and GPGPU calculations using three simple case studies
title_full Performance comparison of CPU and GPGPU calculations using three simple case studies
title_fullStr Performance comparison of CPU and GPGPU calculations using three simple case studies
title_full_unstemmed Performance comparison of CPU and GPGPU calculations using three simple case studies
title_short Performance comparison of CPU and GPGPU calculations using three simple case studies
title_sort performance comparison of cpu and gpgpu calculations using three simple case studies
topic cuda
multi-threading
simd
matrix multiplication
sobel operator
template matching
url http://www.math.md/files/csjm/v31-n1/v31-n1-(pp125-140).pdf
work_keys_str_mv AT branislavlipovsky performancecomparisonofcpuandgpgpucalculationsusingthreesimplecasestudies
AT slavomirsimonak performancecomparisonofcpuandgpgpucalculationsusingthreesimplecasestudies