[mpiwg-languages] Talk by John Biddiscombe this Thursday: "MPI and std::execution (the c++ 26 async API)"

Biddiscombe, John A. john.biddiscombe at cscs.ch
Thu Oct 9 13:29:50 CDT 2025


Tim et al,

Here are slides from today. Apologies a couple were not properly finished.

Thanks for inviiting me, see some of you at SC.

JB

________________________________
From: Uhl, Tim Niklas (ITI) <tim.uhl at kit.edu>
Sent: Tuesday, October 7, 2025 2:32 PM
To: Uhl, Tim Niklas (ITI) via mpiwg-languages <mpiwg-languages at lists.mpi-forum.org>
Cc: Biddiscombe, John A. <john.biddiscombe at cscs.ch>; Simberg Mikael <mikael.simberg at cscs.ch>
Subject: Talk by John Biddiscombe this Thursday: "MPI and std::execution (the c++ 26 async API)"

Dear all,

In this week’s languages working group meeting John Biddiscombe (CSCS) will join us to talk about "MPI and std::execution (the c++ 26 async API)".
The meeting will take place on Thursday, Oct 9, at 10am US central time. Meeting details are as usual, and are now also available at https://urldefense.us/v3/__https://github.com/mpiwg-languages/languages-issues/wiki__;!!G_uCfscf7eWS!Z91PPBaZpSY6LXyOxmrXIFYmwxnNfHckaaCR7zhRx8f4klg3_0Cnf3Tjt3dMW21H1EH16ts2o31BEs-xFhOP-z72bAzTEkVCTdRgf1nakKM$ . If you are unable to access the connection information, please send me your GitHub handle, so I can make you a member of the mpiwg-languages organisation. Also, feel free to invite interested colleagues.

Looking forward to an interesting talk and discussion!

Best,
Tim

Abstract:
C++ 26 introduces std::execution or 'Senders' which provides an API that allows one to attach continuations (which can be viewed as callbacks) to functions executed asynchronously. The user is free to compose chains of execution and spawn new work in response to triggered callbacks. The API provides an explicit mechanism to transfer work from one thread (or execution context) to another which makes it simple to coordinate work between a progress thread and worker threads. We have wrapped MPI_Requests in a simple template wrapper that allows async MPI functions to be used as senders with the polling and callback triggering hidden from the user to give a clean interface and we present our results of using this approach in a task based eigenvalue solver. We show some results of different versions of pipelines used in our continuations and how they affect the final timing of our miniapps. The API lends itself to a native C++ MPI interface and we can imagine it being provided by a future MPI implementation.



--
Karlsruhe Institute of Technology (KIT)
Institute of Theoretical Informatics
Algorithm Engineering Group

Tim Niklas Uhl, M.Sc.
Doctoral Researcher, PhD Candidate

Am Fasanengarten 5, Room 221
Building 50.34
76131 Karlsruhe, Germany

Phone: +49 721 608-43564
Fax: +49 721 608-43088
E-mail: uhl at kit.edu
Web: https://urldefense.us/v3/__https://ae.iti.kit.edu/english/uhl.php__;!!G_uCfscf7eWS!Z91PPBaZpSY6LXyOxmrXIFYmwxnNfHckaaCR7zhRx8f4klg3_0Cnf3Tjt3dMW21H1EH16ts2o31BEs-xFhOP-z72bAzTEkVCTdRgX6k0JgE$ 

Registered Office:
Kaiserstraße 12, 76131 Karlsruhe, Germany

KIT – The Research University in the Helmholtz Association

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpi-forum.org/pipermail/mpiwg-languages/attachments/20251009/c9fc128c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MPI-and-std-execution.pdf
Type: application/pdf
Size: 2159168 bytes
Desc: MPI-and-std-execution.pdf
URL: <http://lists.mpi-forum.org/pipermail/mpiwg-languages/attachments/20251009/c9fc128c/attachment-0001.pdf>


More information about the mpiwg-languages mailing list