Solving Maxwell's Equations with Modern C++ and SYCL: A Case Study

Beitrag bei einer Tagung
(Konferenzbeitrag)


Details zur Publikation

Autor(en): Afzal A, Schmitt C, Alhaddad S, Grynko Y, Teich J, Förstner J, Hannig F
Verlag: IEEE
Jahr der Veröffentlichung: 2018
Tagungsband: Proceedings of the 29th Annual IEEE International Conference on Application-specific Systems, Architectures and Processors (ASAP)
Seitenbereich: 49-56
ISBN: 978-1-5386-7479-6
Sprache: Englisch


Abstract

In scientific computing, unstructured meshes are a crucial foundation for the simulation of real-world physical phenomena. Compared to regular grids, they allow resembling the computational domain with a much higher accuracy, which in turn leads to more efficient computations.
There exists a wealth of supporting libraries and frameworks that aid programmers with the implementation of applications working on such grids, each built on top of existing parallelization technologies. However, many approaches require the programmer to introduce a different programming paradigm into their application or provide different variants of the code. SYCL is a new programming standard providing a remedy to this dilemma by building on standard C ++17 with its so-called single-source approach: Programmers write standard C ++ code and expose parallelism using C++17 keywords. The application is
then transformed into a concrete implementation by the SYCL implementation. By encapsulating the OpenCL ecosystem, different SYCL implementations enable not only the programming of CPUs but also of heterogeneous platforms such as GPUs or other devices. For the first time, this paper showcases a SYCL-based solver for the nodal Discontinuous Galerkin method for Maxwell’s equations on unstructured meshes. We compare our solution to a previous C-based implementation with respect to programmability and performance on heterogeneous platforms.


FAU-Autoren / FAU-Herausgeber

Afzal, Ayesha
Lehrstuhl für Informatik 12 (Hardware-Software-Co-Design)
Hannig, Frank PD Dr.-Ing.
Lehrstuhl für Informatik 12 (Hardware-Software-Co-Design)
Schmitt, Christian
Lehrstuhl für Informatik 12 (Hardware-Software-Co-Design)
Teich, Jürgen Prof. Dr.-Ing.
Lehrstuhl für Informatik 12 (Hardware-Software-Co-Design)


Zitierweisen

APA:
Afzal, A., Schmitt, C., Alhaddad, S., Grynko, Y., Teich, J., Förstner, J., & Hannig, F. (2018). Solving Maxwell's Equations with Modern C++ and SYCL: A Case Study. In Proceedings of the 29th Annual IEEE International Conference on Application-specific Systems, Architectures and Processors (ASAP) (pp. 49-56). Politecnico di Milano, Milan, IT: IEEE.

MLA:
Afzal, Ayesha, et al. "Solving Maxwell's Equations with Modern C++ and SYCL: A Case Study." Proceedings of the The 29th Annual IEEE International Conference on Application-specific Systems, Architectures and Processors (ASAP), Politecnico di Milano, Milan IEEE, 2018. 49-56.

BibTeX: 

Zuletzt aktualisiert 2018-29-08 um 09:31