Event-Based OpenMP Tasks for Time-Sensitive GPU-Accelerated Systems
Thales Research & Technology, Palaiseau, France
International Workshop on OpenMP (IWOMP), 2024
@inproceedings{cetre2024event,
title={Event-Based OpenMP Tasks for Time-Sensitive GPU-Accelerated Systems},
author={Cetre, Cyril and Yu, Chenle and Royuela, Sara and Barrere, R{‘e}mi and Qui{~n}ones, Eduardo and Gratadour, Damien},
booktitle={International Workshop on OpenMP},
pages={31–45},
year={2024},
organization={Springer}
}
The throughput-centric design of GPUs poses challenges when integrating them into time-sensitive applications. Nevertheless, modern GPU architectures and software have recently evolved, making it possible to minimize overheads and interference along the critical path through advanced mechanisms, such as GPU graphs, while sustaining high throughput. However, GPU vendors provide programming ecosystems specific to their products, raising concerns about code portability. Hence, there is a need for a hardware-agnostic API capable of managing time-sensitive GPU-accelerated pipelines. In this context, we propose integrating event-based synchronizations into the high-level OpenMP programming model to, in combination with GPU graphs, notably reduce interference and overheads over the critical path. This work showcases how this combination offers significant performance improvements and time consistency. We also enable portability across several vendor ecosystems and demonstrate our work on a set of representative applications for cyber-physical systems. According to our experiments, we measured a maximum jitter below 20μs, representing less than 5% of time variation.
October 6, 2024 by hgpu