diff options
author | karturov <karturov@KARTUROV-MOBL.ccr.corp.intel.com> | 2011-12-05 14:52:21 +0700 |
---|---|---|
committer | karturov <karturov@KARTUROV-MOBL.ccr.corp.intel.com> | 2011-12-05 14:52:21 +0700 |
commit | 015c331252a3b99c187b5607572f1cec531a4d1e (patch) | |
tree | e30a3f64a950edd21ae89f667cb2f859b6479c02 /test/pardiso_support.cpp | |
parent | e270a5656aaafb055702a51a63541e05eabd8936 (diff) |
Intel(R) MKL support added.
* * *
License disclaimer changed to BSD license for MKL_support.h
* * *
Pardiso support fixed, test added.
blas/lapack tests fixed: Scalar parameter was added in Cholesky, product_matrix_vector_triangular remaned to triangular_matrix_vector_product.
* * *
PARDISO test was added physically.
Diffstat (limited to 'test/pardiso_support.cpp')
-rw-r--r-- | test/pardiso_support.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/pardiso_support.cpp b/test/pardiso_support.cpp new file mode 100644 index 000000000..a6162b44f --- /dev/null +++ b/test/pardiso_support.cpp @@ -0,0 +1,26 @@ +/* + Intel Copyright (C) .... +*/ + +#include "sparse_solver.h" +#include <Eigen/PARDISOSupport> + +template<typename T> void test_pardiso_T() +{ + //PardisoLLT < SparseMatrix<T, RowMajor> > pardiso_llt; + //PardisoLDLT< SparseMatrix<T, RowMajor> > pardiso_ldlt; + PardisoLU < SparseMatrix<T, RowMajor> > pardiso_lu; + + //check_sparse_spd_solving(pardiso_llt); + check_sparse_square_solving(pardiso_lu); +} + +void test_pardiso_support() +{ + for(int i = 0; i < g_repeat; i++) { + CALL_SUBTEST_1(test_pardiso_T<float>()); + CALL_SUBTEST_2(test_pardiso_T<double>()); + CALL_SUBTEST_3(test_pardiso_T< std::complex<float> >()); + CALL_SUBTEST_4(test_pardiso_T< std::complex<double> >()); + } +} |