计算机科学 > 数学软件
[提交于 2023年7月12日]
标题:Integrating Enzyme-generated functions into CoDiPack
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:In operator overloading algorithmic differentiation, it can be beneficial to create custom derivative functions for some parts of the code base. For manual implementations of the derivative functions, it can be quite cumbersome to derive, implement, test, and maintain these. The process can be automated with source transformation algorithmic differentiation tools like Tapenade or compiler-based algorithmic differentiation tools like Enzyme. This eliminates most of the work required from a manual implementation but usually has the same efficiency with respect to timing and memory. We present a new helper in CoDiPack that allows Enzyme-generated derivative functions to be automatically added during the recording process of CoDiPack. The validity of the approach is demonstrated on a synthetic benchmark, which shows promising results.
提交历史
来自:Max Sagebaum[v1] 2023年7月12日 星期三 10:53:02 UTC