Skip to Main Content
Skip Nav Destination
ASME Press Select Proceedings
International Conference on Software Technology and Engineering, 3rd (ICSTE 2011)
Mohamed Othman
Mohamed Othman
Search for other works by this author on:
Raja Suzana Raja Kasim
Raja Suzana Raja Kasim
Search for other works by this author on:
No. of Pages:
ASME Press
Publication date:

Algorithmic Differentiation (AD) is applied to numerical simulation programs in order to produce code for the computation of various kinds of derivatives. A data flow analysis called To-Be-Recorded (TBR) analysis aims to detect the set of variables required in reverse section and values that can be lost because of the overwriting in forward section for adjoint mode of AD. The implementation of the TBR analysis uses a syntax-directed algorithm based on the following attribute grammar. The expected result of TBR analysis is to get more efficient generated code in terms of memory. We have implemented TBR analysis inside our AD-tool called “Derivative Code Compiler (DCC)”. Depending on the testing cases, the percentage of memory savings can be different. In the test case illustrated in this paper, a memory saving of approximately 18% was achieved.

Key Words
1 Introduction
2. Syntax-Directed TBR Analysis
3. Testing and Result
This content is only available via PDF.
You do not currently have access to this chapter.
Close Modal

or Create an Account

Close Modal
Close Modal