Modern C++, with its support for procedural, objected oriented, generic and functional programming styles, offers many powerful abstraction mechanisms to express complexity at a high level while remaining very efficient. It is therefore the language of choice for many scientific projects. The approval of the latest language standard, C++20, has also opened up new abstraction layers and new exciting ways to organize code at all levels. However, achieving high performance by today's standards requires understanding and exploiting multiple levels of parallelism, as well as understanding C++ code from a performance centric viewpoint.
In this course, the participants will learn how to write C++ programs which better utilize typical HPC hardware resources of the present day. The course is geared towards scientists and engineers already familiar with C++17, who wish to develop maintainable and fast applications. Since C++20 is a relatively large structural change of the C++ language, similar to C++11, novel ways to write expressive, maintainable and fast code are now available to C++ programmers, which will be introduced in the course. The participants will learn techniques to better utilize CPU caches, instruction pipelines, SIMD functionality and multi-threading. Shared memory parallel programming on multiple CPU cores will be introduced using standard C++ parallel STL and Intel (R) Threading Building Blocks. The participants will also learn basic GPGPU programming using C++ template based generic programming techniques.
Prerequisites: Good working knowledge of C++, especially the C++17 standard.
Dates:
30 May - 2 June 2023, 09:00-16:30
Location: Jülich Supercomputing Centre, building 16.3, room 213a (Ausbildungsraum 1)
Language: This course is given in English.
Instructor: Dr. Sandipan Mohanty, JSC
Contact
For any questions concerning the course, please send an e-mail to s.mohanty@fz-juelich.de.