Suspending OpenMP Tasks on Asynchronous Events: Extending the Taskwait Construct - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2023

Suspending OpenMP Tasks on Asynchronous Events: Extending the Taskwait Construct

Résumé

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.
Fichier principal
Vignette du fichier
IWOMP_23___SUSPENDING_TASKS-1.pdf (267.35 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04135481 , version 1 (21-06-2023)
hal-04135481 , version 2 (19-09-2023)

Licence

Paternité

Identifiants

  • HAL Id : hal-04135481 , version 1

Citer

Romain Pereira, Maël Martin, Adrien Roussel, Thierry Gautier, Patrick Carribault. Suspending OpenMP Tasks on Asynchronous Events: Extending the Taskwait Construct. IWOMP 23 - International Workshop on OpenMP, Sep 2023, Bristol, United Kingdom. ⟨hal-04135481v1⟩
102 Consultations
125 Téléchargements

Partager

Gmail Facebook X LinkedIn More