Suspending OpenMP Tasks on Asynchronous Events: Extending the Taskwait Construct - Inria - Institut national de recherche en sciences et technologies du numérique
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-7.pdf (406.53 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

Identifiants

Citer

Romain Pereira, Maël Martin, Adrien Roussel, Patrick Carribault, Thierry Gautier. Suspending OpenMP Tasks on Asynchronous Events: Extending the Taskwait Construct. IWOMP 23 - International Workshop on OpenMP, Sep 2023, Bristol, United Kingdom. pp.66-80, ⟨10.1007/978-3-031-40744-4_5⟩. ⟨hal-04135481v2⟩
127 Consultations
240 Téléchargements

Altmetric

Partager

More