\(\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_cppad_jit¶
View page sourceSpeed Test Derivatives Using cppad_jit¶
Purpose¶
CppAD has a set of speed tests that are used to compare cppad_jit with other AD packages. This section links to the source code the cppad_jit speed tests (any suggestions to make the cppad_jit results faster are welcome).
Running Tests¶
To build these speed tests, and run their correctness tests, execute the following commands starting in the Build Directory :
cd speed/cppad_jit
make check_speed_cppad_jit VERBOSE
=1You can then run the corresponding speed tests with the following command
./
speed_cppad_jit speed
seed
where seed is a positive integer. See speed_main for more options.