HomeSort by relevance Sort by last modified time
    Searched refs:nnzPerCol (Results 1 - 3 of 3) sorted by null

  /external/eigen/bench/
sparse_product.cpp 13 #ifndef NNZPERCOL
14 #define NNZPERCOL 6
107 for (int nnzPerCol = NNZPERCOL; nnzPerCol>1; nnzPerCol/=1.1)
111 fillMatrix2(nnzPerCol, rows, cols, sm1);
112 fillMatrix2(nnzPerCol, rows, cols, sm2);
118 std::cout << "Eigen Dense\t" << nnzPerCol << "%\n";
227 std::cout << "CSparse \t" << nnzPerCol << "%\n"
    [all...]
spmv.cpp 42 int nnzPerCol = 40;
59 nnzPerCol = atoi(argv[i]+1);
80 std::cout << "SpMV " << rows << " x " << cols << " with " << nnzPerCol << " non zeros per column. (" << repeats << " repeats, and " << tries << " tries)\n\n";
87 while (nnzPerCol>=4)
89 std::cout << "nnz: " << nnzPerCol << "\n";
91 fillMatrix2(nnzPerCol, rows, cols, sm);
224 if(nnzPerCol==1)
226 nnzPerCol -= nnzPerCol/2;
BenchSparseUtil.h 42 void fillMatrix2(int nnzPerCol, int rows, int cols, EigenSparseMatrix& dst)
44 // std::cout << "alloc " << nnzPerCol*cols << "\n";
45 dst.reserve(nnzPerCol*cols);
49 for(int i = 0; i < nnzPerCol; i++)

Completed in 1790 milliseconds