Hi Namik, > I just pushed the first working version of expert(custom) benchmark > mode. Selecting custom sparse matrices is yet to be implemented, but all > other benchmark configs are working.
thanks! I'll comment on it tomorrow. > Except blas3, that is. I think I got the sizes wrong. I'd appreciate it > if someone could check if I did it right: > > //blas3MatrixSizeA,B = size1,2 > //blas3MatrixSizeB,C = size2,3 > viennacl::matrix<ScalarType> vcl_A(blas3MatrixSizeA, blas3MatrixSizeB); > viennacl::matrix<ScalarType> vcl_B(blas3MatrixSizeB, blas3MatrixSizeC); > viennacl::matrix<ScalarType> vcl_C(blas3MatrixSizeA, blas3MatrixSizeC); > > // Fill the matrix > for (unsigned int i = 0; i < blas3MatrixSizeA; ++i) > for (unsigned int j = 0; j < blas3MatrixSizeB; ++j) > stl_A[i*blas3MatrixSizeA + j] = random<ScalarType>(); > > for (unsigned int i = 0; i < blas3MatrixSizeB; ++i) > for (unsigned int j = 0; j < blas3MatrixSizeC; ++j) > stl_B[i + j*blas3MatrixSizeC] = random<ScalarType>(); > > //using ranges > viennacl::range r(blas3MatrixSizeB/4, 3 * blas3MatrixSizeB/4); > > //using slices > viennacl::slice s(0, 2, blas3MatrixSizeB/2); > > The benchmark crashes on test 4 (LU factorization). I don't know if I > messed up somewhere before test 4 (in the code written above), or > somewhere else. If I'm not mistaken, LU factorization is only implemented for square matrices. Since our current implementation is slow and not really representative, please remove it from the benchmarks for now to avoid these troubles. Best regards, Karli ------------------------------------------------------------------------------ _______________________________________________ ViennaCL-devel mailing list ViennaCL-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viennacl-devel