Suspending OpenMP Tasks on Asynchronous Events: Extending the Taskwait Construct

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

Abstract

Many-core and heterogeneous architectures now require programmers to compose multiple asynchronous programming model to fully exploit hardware capabilities. As a shared-memory parallel programming model, OpenMP has the responsibility of orchestrating the suspension and progression of asynchronous operations occurring on a compute node, such as MPI communications or CUDA/HIP streams. Yet, specifications only come with the task detach(event) API to suspend tasks until an asynchronous operation is completed, which presents a few drawbacks. In this paper, we introduce the design and implementation of an extension on the taskwait construct to suspend a task until an asynchronous event completion. It aims to reduce runtime costs induced by the current solution, and to provide a standard API to automate portable task suspension solutions. The results show twice less overheads compared to the existing task detach clause.

Original languageEnglish
Title of host publicationOpenMP
Subtitle of host publicationAdvanced Task-Based, Device and Compiler Programming - 19th International Workshop on OpenMP, IWOMP 2023, Proceedings
EditorsSimon McIntosh-Smith, Tom Deakin, Michael Klemm, Bronis R. de Supinski, Jannis Klinkenberg
PublisherSpringer Science and Business Media Deutschland GmbH
Pages66-80
Number of pages15
ISBN (Print)9783031407437
DOIs
Publication statusPublished - 1 Jan 2023
Externally publishedYes
EventProceedings of the 19th International Workshop on OpenMP, IWOMP 2023 - Bristol, United Kingdom
Duration: 13 Sept 202315 Sept 2023

Publication series

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

Conference

ConferenceProceedings of the 19th International Workshop on OpenMP, IWOMP 2023
Country/TerritoryUnited Kingdom
CityBristol
Period13/09/2315/09/23

Keywords

  • Asynchronous Programming
  • Dependent Task
  • MPI
  • OpenMP

Fingerprint

Dive into the research topics of 'Suspending OpenMP Tasks on Asynchronous Events: Extending the Taskwait Construct'. Together they form a unique fingerprint.

Cite this