Skip to main content

Research publications repository

    • čeština
    • English
  • English 
    • čeština
    • English
  • Login
View Item 
  •   CU Research Publications Repository
  • Fakulty
  • Faculty of Mathematics and Physics
  • View Item
  • CU Research Publications Repository
  • Fakulty
  • Faculty of Mathematics and Physics
  • View Item
JavaScript is disabled for your browser. Some features of this site may not work without it.

Abstractions for C++ code optimizations in parallel high-performance applications

original article
Creative Commons License IconCreative Commons BY Icon
published version
  • no other version
Thumbnail
File can be accessed.Get publication
Author
Klepl, JiříORCiD Profile - 0000-0002-2231-4073WoS Profile - GVS-9445-2022Scopus Profile - 58114352100
Šmelko, AdamORCiD Profile - 0000-0001-8334-2783WoS Profile - ABM-4816-2022Scopus Profile - 57262990200
Rozsypal, Lukáš
Kruliš, MartinORCiD Profile - 0000-0002-0985-8949WoS Profile - D-6454-2017Scopus Profile - 36450838500

Show other authors

Publication date
2024
Published in
Parallel Computing
Volume / Issue
121 (September 2024)
ISBN / ISSN
ISSN: 0167-8191
ISBN / ISSN
eISSN: 1872-7336
Metadata
Show full item record
Collections
  • Faculty of Mathematics and Physics

This publication has a published version with DOI 10.1016/j.parco.2024.103096

Abstract
Many computational problems consider memory throughput a performance bottleneck, especially in the domain of parallel computing. Software needs to be attuned to hardware features like cache architectures or concurrent memory banks to reach a decent level of performance efficiency. This can be achieved by selecting the right memory layouts for data structures or changing the order of data structure traversal. In this work, we present an abstraction for traversing a set of regular data structures (e.g., multidimensional arrays) that allows the design of traversal-agnostic algorithms. Such algorithms can easily optimize for memory performance and employ semi-automated parallelization or autotuning without altering their internal code. We also add an abstraction for autotuning that allows defining tuning parameters in one place and removes boilerplate code. The proposed solution was implemented as an extension of the Noarr library that simplifies a layout-agnostic design of regular data structures. It is implemented entirely using C++ template meta-programming without any nonstandard dependencies, so it is fully compatible with existing compilers, including CUDA NVCC or Intel DPC++. We evaluate the performance and expressiveness of our approach on the Polybench-C benchmarks.
Keywords
Autotuning, Code optimization, Parallel programming, Plain C++, Regular data structure, Traversal
Permanent link
https://hdl.handle.net/20.500.14178/2705
Show publication in other systems
WOS:001299241000001
SCOPUS:2-s2.0-85201453256
License

Full text of this result is licensed under: Creative Commons Uveďte původ 4.0 International

Show license terms

xmlui.dri2xhtml.METS-1.0.item-publication-version-

DSpace software copyright © 2002-2016  DuraSpace
Contact Us | Send Feedback
Theme by 
Atmire NV
 

 

About Repository

About This RepositoryResearch outputs typologyRequired metadataDisclaimerCC Linceses

Browse

All of DSpaceCommunities & CollectionsWorkplacesBy Issue DateAuthorsTitlesSubjectsThis CollectionWorkplacesBy Issue DateAuthorsTitlesSubjects

DSpace software copyright © 2002-2016  DuraSpace
Contact Us | Send Feedback
Theme by 
Atmire NV