Skip to main navigation Skip to search Skip to main content

Stream Support in MPI Without the Churn

  • Advanced Micro Devices

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Accelerators have become a corner stone of parallel computing, ranging from scientific computing to artificial intelligence. At the application level, accelerators are controlled by submitting work into a stream, from which the work is executed by the hardware. Vendor-specific communication libraries such as NCCL and RCCL have integrated support for submitting communication operations onto a stream to enable ordering of communication and work on streams. It is safe to assume that stream-based computing will remain relevant for the foreseeable future. MPI has yet to catch up to this reality and prior proposals involved extensions of MPI that would incur significant additions to the API. In this work, we explore alternatives that involve only minor additions to the standard to enable the integration of MPI operations with compute stream. Our additions include i) associating streams with communication objects, ii) blocking streams until completion, and iii) synchronizing streams while progressing MPI operations. Our API is agnostic of the type of stream, reuses existing communication procedures and semantics, and enables integration with graph capturing. We provide a proof-of-concept implementation and show that stream integration of MPI operations can be beneficial.

Original languageEnglish
Title of host publicationRecent Advances in the Message Passing Interface - 31st European MPI Users’ Group Meeting, EuroMPI 2024, Proceedings
EditorsClaudia Blaas-Schenner, Christoph Niethammer, Tobias Haas
PublisherSpringer Science and Business Media Deutschland GmbH
Pages56-72
Number of pages17
ISBN (Print)9783031733697
DOIs
StatePublished - 2025
Event31st European MPI Users’ Group Meeting, EuroMPI 2024 - Perth, Australia
Duration: Sep 25 2024Sep 27 2024

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume15267 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference31st European MPI Users’ Group Meeting, EuroMPI 2024
Country/TerritoryAustralia
CityPerth
Period09/25/2409/27/24

Keywords

  • accelerators
  • GPU
  • HIP
  • MPI
  • streams

Fingerprint

Dive into the research topics of 'Stream Support in MPI Without the Churn'. Together they form a unique fingerprint.

Cite this