ADIC: an extensible automatic differentiation tool for ANSI-C

被引:0
|
作者
Bischof, CH
Roh, L
Mauer-oats, AJ
机构
[1] Argonne Natl Lab, Div Math & Comp Sci, Argonne, IL 60439 USA
[2] Univ Illinois, Dept Math, Urbana, IL 61802 USA
来源
SOFTWARE-PRACTICE & EXPERIENCE | 1997年 / 27卷 / 12期
关键词
automatic differentiation; derivatives; semantic augmentation; source transformation;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In scientific computing, we often require the derivatives partial derivative f/partial derivative x of a function f expressed as a program with respect to some input parameter(s) x, say, Automatic Differentiation (AD) techniques augment the program with derivative computation by applying the chain rule of calculus to elementary operations in an automated fashion, This article introduces ADIC (Automatic Differentiation of C), a new AD tool for ANSI-C programs, ADIC is currently the only tool for ANSI-C that employs a source-to-source program transformation approach; that is, it takes a C code and produces a new C code that computes the original results as well as the derivatives, We first present ADIC 'by example' to illustrate the functionality and ease of use of ADIC and then describe in detail the architecture of ADIC. ADIC incorporates a modular design that provides a foundation for both rapid prototyping of better AD algorithms and their sharing across AD tools for different languages, A component architecture called AIF (Automatic Differentiation Intermediate Form) separates core AD concepts from their language-specific implementation and allows the development of generic AD modules that can be reused directly in other AIF-based AD tools, The language-specific ADIC front-end and back-end canonicalize C: programs to make them fit for semantic augmentation and manage, for example, the association of a program variable with its derivative object, We also report on applications of ADIC to a semiconductor device simulator, 3-D CFD grid generator, vehicle simulator, and neural network code. (C) 1997 by John Wiley & Sons, Ltd.
引用
收藏
页码:1427 / 1456
页数:30
相关论文
共 50 条
  • [1] A tool for checking ANSI-C programs
    Clarke, E
    Kroening, D
    Lerda, F
    [J]. TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PROCEEDINGS, 2004, 2988 : 168 - 176
  • [2] STANDARDIZING ANSI-C
    YOUNG, GA
    [J]. BYTE, 1986, 11 (07): : 14 - 14
  • [3] Methodological considerations for automatic synthesis of fuzzy processors in ANSI-C
    Forero, Edgar
    Garcia, Edgar
    Melgarejo, Miguel
    [J]. INGENIERIA, 2009, 14 (01): : 53 - 58
  • [4] A RETARGETABLE COMPILER FOR ANSI-C
    FRASER, CW
    HANSON, DR
    [J]. SIGPLAN NOTICES, 1991, 26 (10): : 29 - 43
  • [5] CONVERTING OLD-C TO ANSI-C
    MACLAREN, NM
    [J]. PROCEEDINGS : SEAS ANNIVERSARY MEETING 1989, VOLS 1 AND 2: THE CORPORATE NETWORK, 1989, : 1497 - 1500
  • [6] A CODE GENERATION INTERFACE FOR ANSI-C
    FRASER, CW
    HANSON, DR
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 1991, 21 (09): : 963 - 988
  • [7] Loopfrog: A Static Analyzer for ANSI-C Programs
    Kroening, Daniel
    Sharygina, Natasha
    Tonetta, Stefano
    Tsitovich, Aliaksei
    Wintersteiger, Christoph M.
    [J]. 2009 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 668 - 670
  • [8] A configurable automatic instrumentation tool for ANSI C
    Templer, KS
    Jeffery, CL
    [J]. 13TH IEEE INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 1998, : 249 - 258
  • [9] Scalable Secure Computation from ANSI-C
    Buescher, Niklas
    Kretzmer, David
    Jindal, Arnav
    Katzenbeisser, Stefan
    [J]. 2016 8TH IEEE INTERNATIONAL WORKSHOP ON INFORMATION FORENSICS AND SECURITY (WIFS 2016), 2016,
  • [10] ANSI-C routines for the estimation of the lognormal mean
    Brown, FH
    [J]. COMPUTERS & GEOSCIENCES, 1995, 21 (10) : 1191 - 1199