AD in Fortran, Part 2: Implementation via Prepreprocessor

Computer Science – Programming Languages

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Scientific paper

We describe an implementation of the Farfel Fortran AD extensions. These extensions integrate forward and reverse AD directly into the programming model, with attendant benefits to flexibility, modularity, and ease of use. The implementation we describe is a "prepreprocessor" that generates input to existing Fortran-based AD tools. In essence, blocks of code which are targeted for AD by Farfel constructs are put into subprograms which capture their lexical variable context, and these are closure-converted into top-level subprograms and specialized to eliminate EXTERNAL arguments, rendering them amenable to existing AD preprocessors, which are then invoked, possibly repeatedly if the AD is nested.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

AD in Fortran, Part 2: Implementation via Prepreprocessor does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with AD in Fortran, Part 2: Implementation via Prepreprocessor, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and AD in Fortran, Part 2: Implementation via Prepreprocessor will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-393781

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.