mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
extend benchmark for sparse products
This commit is contained in:
@@ -42,7 +42,7 @@ void fillMatrix(float density, int rows, int cols, EigenSparseMatrix& dst)
|
||||
|
||||
void fillMatrix2(int nnzPerCol, int rows, int cols, EigenSparseMatrix& dst)
|
||||
{
|
||||
std::cout << "alloc " << nnzPerCol*cols << "\n";
|
||||
// std::cout << "alloc " << nnzPerCol*cols << "\n";
|
||||
dst.reserve(nnzPerCol*cols);
|
||||
for(int j = 0; j < cols; j++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user