\(\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}} }\)
speed¶
View page sourceSpeed 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¶
Name |
Title |
---|---|
speed_main |
|
speed_utility |
|
speed_double |
|
speed_adolc |
|
speed_cppad |
|
speed_fadbad |
|
speed_cppad_jit |
|
speed_cppadcg |
|
speed_sacado |
|
speed_xpackage |