Aggregated type handling in CoDiPack

Author:

Sagebaum Max1,Gauger Nicolas R.1

Affiliation:

1. Chair for Scientific Computing TU Kaiserslautern Bldg/Geb 34, Paul-Ehrlich-Strasse 67663 Kaiserslautern Germany

Abstract

AbstractThe development of algorithmic differentiation (AD) tools focuses mostly on handling floating point types in the target language. Taping optimizations in these tools mostly focus on specific operations like matrix vector products. Aggregated types like std::complex are usually handled by specifying the AD type as a template argument. This approach provides exact results, but prevents the use of expression templates. If AD tools are extended and specialized such that aggregated types can be added to the expression framework, then this will result in reduced memory utilization and improve the timing for applications where aggregated types such as complex number or matrix vector operations are used. Such an integration requires a reformulation of the stored data per expression and a rework of the tape evaluation process. We will demonstrate the overheads on a synthetic benchmark and show the improvement when aggregated types are handled properly by the expression framework of the AD tool.

Publisher

Wiley

Subject

Electrical and Electronic Engineering,Atomic and Molecular Physics, and Optics

Reference14 articles.

1. P. Peltzer J. Lotz and U. Naumann Eigen-AD: Algorithmic Differentiation of the Eigen Library in: Computational Science – ICCS 2020 (Springer International Publishing Cham 2020) pp. 690–704.

2. K. Leppkes J. Lotz and U. Naumann Derivative code by overloading in C++ (dco/c++): Introduction and summary of features Tech. Rep. AIB-2016-08 RWTH Aachen University September 2016.

3. R. Hogan ACM Transactions on Mathematical Software (TOMS) 40(4) 26 (2014).

4. B. Carpenter M. Hoffman M. Brubaker D. Lee P. Li and M. Betancourt arXiv preprintarXiv:1509.07164(2015).

5. M. Sagebaum T. Albring and N. Gauger ACM Transactions on Mathematical Software (TOMS) 45(4) (2019).

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3