Kokkos Node API and Local Linear Algebra Kernels Version of the Day
|static void||run (const Teuchos::RCP< const Teuchos::Comm< int > > &comm, const Teuchos::RCP< node_type > &node, const Teuchos::RCP< Teuchos::ParameterList > &testParams, std::vector< int > &randomSeed)|
|Run the test for the Scalar type. |
This class is meant to be used only by
FullTsqrVerifierCaller. It performs one accuracy test of
Tsqr for the given Scalar type (that is, the type of the matrix entries). An accuracy test is also a correctness test. This test computes accuracy bounds for both orthogonality and forward errors, and if those bounds are exceeded and the failIfInaccurate option is enabled, the test will throw a
This class currently only tests the version of Tsqr that is the composition of NodeTsqrType=SequentialTsqr and DistTsqrType=DistTsqr. This should suffice to test correctness, as long as the other NodeTsqrType possibilities (such as TbbTsqr) are tested separately.
|static void TSQR::Test::FullTsqrVerifier< Scalar >::run||(||const Teuchos::RCP< const Teuchos::Comm< int > > &||comm,|
|const Teuchos::RCP< node_type > &||node,|
|const Teuchos::RCP< Teuchos::ParameterList > &||testParams,|
|std::vector< int > &||randomSeed|
Run the test for the Scalar type.
|comm||[in] Communicator over which to run the test.|
|node||[in] Kokkos Node instance.|
|testParams||[in/out] Parameters for the test. May be modified by each test in turn.|
|randomSeed||[in/out] On input: the random seed for LAPACK's pseudorandom number generator. On output: the updated random seed.|