diff options
author | 2012-09-04 12:21:07 +0200 | |
---|---|---|
committer | 2012-09-04 12:21:07 +0200 | |
commit | 2280f2490e802320838f8e51884abe8667a6112d (patch) | |
tree | 199c5f95ceb47f73e0ad6193ac68f10a618f629d /Eigen/src/SparseLU/SparseLU_panel_bmod.h | |
parent | 2e38666d01e395ecb4ffb41e3d031aff1f984308 (diff) |
Init perf values
Diffstat (limited to 'Eigen/src/SparseLU/SparseLU_panel_bmod.h')
-rw-r--r-- | Eigen/src/SparseLU/SparseLU_panel_bmod.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/SparseLU/SparseLU_panel_bmod.h b/Eigen/src/SparseLU/SparseLU_panel_bmod.h index 36b4f74df..1b31cc31a 100644 --- a/Eigen/src/SparseLU/SparseLU_panel_bmod.h +++ b/Eigen/src/SparseLU/SparseLU_panel_bmod.h @@ -49,7 +49,7 @@ * */ template <typename DenseIndexBlock, typename IndexVector, typename ScalarVector> -void LU_panel_bmod(const int m, const int w, const int jcol, const int nseg, ScalarVector& dense, ScalarVector& tempv, DenseIndexBlock& segrep, DenseIndexBlock& repfnz, LU_GlobalLU_t<IndexVector,ScalarVector>& glu) +void LU_panel_bmod(const int m, const int w, const int jcol, const int nseg, ScalarVector& dense, ScalarVector& tempv, DenseIndexBlock& segrep, DenseIndexBlock& repfnz, LU_perfvalues& perfv, LU_GlobalLU_t<IndexVector,ScalarVector>& glu) { typedef typename ScalarVector::Scalar Scalar; @@ -95,7 +95,7 @@ void LU_panel_bmod(const int m, const int w, const int jcol, const int nseg, Sca // if the blocks are large enough, use level 3 // TODO find better heuristics! - if( nsupc >= 50 && nrow > 50 && u_cols>6) + if( nsupc >= perfv.colblk && nrow > perfv.rowblk && u_cols>perfv.relax) { Map<Matrix<Scalar,Dynamic,Dynamic> > U(tempv.data(), u_rows, u_cols); |