Prev Next

@(@\newcommand{\W}[1]{ \; #1 \; } \newcommand{\R}[1]{ {\rm #1} } \newcommand{\B}[1]{ {\bf #1} } \newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} } \newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} } \newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} } \newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }@)@ This is cppad-20221105 documentation. Here is a link to its current documentation .
Speed Test an Operator Overloading AD Package

Purpose
Cppad has a set of speed tests that are used to determine if changes improve its execution speed. These tests can also be used to compare the AD packages Adolc , Cppad, Fadbad , Cppadcg , Sacado .

debug_which
Usually, one wants to compile the speed tests in release mode. This can be done by setting cppad_debug_which to debug_none in the cmake command. Correctness tests are included for all the speed tests, so it is possible you will want to compile these tests for debugging; i.e., set cppad_debug_which to debug_all. The sections below explain how you can run these tests on your computer.

Contents
speed_mainRunning the Speed Test Program
speed_utilitySpeed Testing Utilities
speed_doubleSpeed Test of Functions in Double
speed_adolcSpeed Test of Derivatives Using Adolc
speed_cppadSpeed Test Derivatives Using CppAD
speed_fadbadSpeed Test Derivatives Using Fadbad
speed_cppad_jitSpeed Test Derivatives Using cppad_jit
speed_cppadcgSpeed Test Derivatives Using Cppadcg
speed_sacadoSpeed Test Derivatives Using Sacado
speed_xpackageSpeed Test Example and Template for a New Package

Input File: speed/speed.omh