OpDiLib is a universal add-on for reverse mode operator overloading AD tools that enables the differentiation of OpenMP parallel code. OpDiLib is written in C++ and relies on modern OpenMP features around OMPT to achieve differentiation without any additional modifications of the source code.
- interface for the coupling with operator overloading AD tools
- fully automatic differentiation via OMPT
- semi-automatic differentiation via a macro interface without OMPT
- automatic deduction of a parallel reverse pass
- no a priori restrictions of the data access patterns
- tools for the performance optimization of the parallel reverse pass
- AD handling for most features of the OpenMP 2.5 specification
atomicdirectives are not handled
flushdirectives are not handled
OpDiLib is released as open source software under the GPLv3 license.
The source code is available on GitHub.
If you use OpDiLib in one of your applications and write a paper, please cite us!
preprint arXiv:2102.11572, 2021.