Codebase list cppad / upstream/2017.00.00.6 omh / speed / speed_sacado.omh
upstream/2017.00.00.6

Tree @upstream/2017.00.00.6 (Download .tar.gz)

speed_sacado.omh @upstream/2017.00.00.6raw · history · blame

$Id: speed_sacado.omh 3757 2015-11-30 12:03:07Z bradbell $
/* --------------------------------------------------------------------------
CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell

CppAD is distributed under multiple licenses. This distribution is under
the terms of the
                    GNU General Public License Version 3.

A copy of this license is included in the COPYING file of this distribution.
Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
-------------------------------------------------------------------------- */

$begin speed_sacado$$
$spell
	cmake
	SacadoDir
	CppAD
	Cygwin
$$


$section Speed Test Derivatives Using Sacado$$

$head Purpose$$
CppAD has a set of speed tests that are used to compare
Sacado with other AD packages.
This section links to the source code the Sacado speed tests
(any suggestions to make the Sacado results faster are welcome).

$head sacado_prefix$$
To run these tests,
you must include the $cref sacado_prefix$$
in you $cref/cmake command/cmake/CMake Command/$$.


$head Running Tests$$
To build these speed tests, and run their correctness tests,
execute the following commands starting in the
$cref/build directory/cmake/CMake Command/Build Directory/$$:
$codei%
	cd speed/sacado
	make check_speed_sacado VERBOSE=1
%$$
You can then run the corresponding speed tests
with the following command
$codei%
	./speed_sacado speed %seed%
%$$
where $icode seed$$ is a positive integer.
See $cref speed_main$$ for more options.

$contents%
	speed/sacado/det_minor.cpp%
	speed/sacado/det_lu.cpp%
	speed/sacado/mat_mul.cpp%
	speed/sacado/ode.cpp%
	speed/sacado/poly.cpp%
	speed/sacado/sparse_hessian.cpp%
	speed/sacado/sparse_jacobian.cpp
%$$

$end