Patch |
File delta |
Description |
optional test matrices.patch | (download) |
clients/tests/CMakeLists.txt |
2 2 + 0 - 0 !
1 file changed, 2 insertions(+) |
optional test matrices
Add an option to disable the use of downloaded matrix data with
-DWITH_TEST_MATRICES=OFF
|
use local mathjax.patch | (download) |
docs/conf.py |
2 2 + 0 - 0 !
1 file changed, 2 insertions(+) |
use local mathjax
The sphinx.ext.mathjax extension defaults to loading mathjax from a
CDN, which results in the lintian warning 'privacy-breach-generic'.
Use a local copy of mathjax to prevent that problem.
|
allow missing matrix data in tests.patch | (download) |
clients/include/testing_bsr2csr.hpp |
4 2 + 2 - 0 !
clients/include/testing_bsric02.hpp |
4 2 + 2 - 0 !
clients/include/testing_bsrilu02.hpp |
4 2 + 2 - 0 !
clients/include/testing_bsrmm.hpp |
4 2 + 2 - 0 !
clients/include/testing_bsrmv.hpp |
4 2 + 2 - 0 !
clients/include/testing_bsrsm2.hpp |
4 2 + 2 - 0 !
clients/include/testing_bsrsv2.hpp |
4 2 + 2 - 0 !
clients/include/testing_coo2csr.hpp |
4 2 + 2 - 0 !
clients/include/testing_coosort.hpp |
4 2 + 2 - 0 !
clients/include/testing_cscsort.hpp |
4 2 + 2 - 0 !
clients/include/testing_csr2bsr.hpp |
4 2 + 2 - 0 !
clients/include/testing_csr2coo.hpp |
4 2 + 2 - 0 !
clients/include/testing_csr2csc.hpp |
4 2 + 2 - 0 !
clients/include/testing_csr2csc_ex2.hpp |
4 2 + 2 - 0 !
clients/include/testing_csr2csr_compress.hpp |
4 2 + 2 - 0 !
clients/include/testing_csr2gebsr.hpp |
4 2 + 2 - 0 !
clients/include/testing_csr2hyb.hpp |
4 2 + 2 - 0 !
clients/include/testing_csrcolor.hpp |
4 2 + 2 - 0 !
clients/include/testing_csrgeam.hpp |
4 2 + 2 - 0 !
clients/include/testing_csrgeam2.hpp |
4 2 + 2 - 0 !
clients/include/testing_csrgemm.hpp |
4 2 + 2 - 0 !
clients/include/testing_csrgemm2_a.hpp |
4 2 + 2 - 0 !
clients/include/testing_csrgemm2_b.hpp |
4 2 + 2 - 0 !
clients/include/testing_csric02.hpp |
4 2 + 2 - 0 !
clients/include/testing_csrilu02.hpp |
4 2 + 2 - 0 !
clients/include/testing_csrilusv.hpp |
2 1 + 1 - 0 !
clients/include/testing_csrmm.hpp |
4 2 + 2 - 0 !
clients/include/testing_csrmv.hpp |
4 2 + 2 - 0 !
clients/include/testing_csrsm2.hpp |
4 2 + 2 - 0 !
clients/include/testing_csrsort.hpp |
4 2 + 2 - 0 !
clients/include/testing_csrsv2.hpp |
4 2 + 2 - 0 !
clients/include/testing_csru2csr.hpp |
4 2 + 2 - 0 !
clients/include/testing_gebsr2csr.hpp |
4 2 + 2 - 0 !
clients/include/testing_gebsr2gebsc.hpp |
4 2 + 2 - 0 !
clients/include/testing_gebsr2gebsr.hpp |
4 2 + 2 - 0 !
clients/include/testing_gemmi.hpp |
4 2 + 2 - 0 !
clients/include/testing_hyb2csr.hpp |
4 2 + 2 - 0 !
clients/include/testing_hybmv.hpp |
4 2 + 2 - 0 !
clients/include/testing_prune_csr2csr.hpp |
4 2 + 2 - 0 !
clients/include/testing_prune_csr2csr_by_percentage.hpp |
4 2 + 2 - 0 !
clients/include/testing_sddmm_coo.hpp |
4 2 + 2 - 0 !
clients/include/testing_sddmm_coo_aos.hpp |
4 2 + 2 - 0 !
clients/include/testing_sddmm_csc.hpp |
4 2 + 2 - 0 !
clients/include/testing_sddmm_csr.hpp |
4 2 + 2 - 0 !
clients/include/testing_sparse_to_dense_coo.hpp |
4 2 + 2 - 0 !
clients/include/testing_sparse_to_dense_csc.hpp |
4 2 + 2 - 0 !
clients/include/testing_sparse_to_dense_csr.hpp |
4 2 + 2 - 0 !
clients/include/testing_spgemm_csr.hpp |
4 2 + 2 - 0 !
clients/include/testing_spgemmreuse_csr.hpp |
4 2 + 2 - 0 !
clients/include/testing_spmm_batched_coo.hpp |
4 2 + 2 - 0 !
clients/include/testing_spmm_batched_csc.hpp |
4 2 + 2 - 0 !
clients/include/testing_spmm_batched_csr.hpp |
4 2 + 2 - 0 !
clients/include/testing_spmm_coo.hpp |
4 2 + 2 - 0 !
clients/include/testing_spmm_csc.hpp |
4 2 + 2 - 0 !
clients/include/testing_spmm_csr.hpp |
4 2 + 2 - 0 !
clients/include/testing_spmv_coo.hpp |
4 2 + 2 - 0 !
clients/include/testing_spmv_coo_aos.hpp |
4 2 + 2 - 0 !
clients/include/testing_spmv_csr.hpp |
4 2 + 2 - 0 !
clients/include/testing_spsm_coo.hpp |
4 2 + 2 - 0 !
clients/include/testing_spsm_csr.hpp |
4 2 + 2 - 0 !
clients/include/testing_spsv_coo.hpp |
4 2 + 2 - 0 !
clients/include/testing_spsv_csr.hpp |
4 2 + 2 - 0 !
62 files changed, 123 insertions(+), 123 deletions(-) |
allow missing matrix data in tests
Changes applied using:
find -name '*pp' -exec perl -i -p0e \
's/(.*Cannot open \[read\].*\n.*HIPSPARSE_STATUS_)INTERNAL_ERROR/\1SUCCESS/' \
{} \;
find -name '*pp' -exec perl -i -p0e \
's/fprintf.*(Cannot open \[read\]).*,\s*(\w+).c_str\(\)/[&](){ GTEST_SKIP() << "\1 " << \2; }(/' \
{} \;
|
Extend docs conf.py for offline build.patch | (download) |
docs/conf.py |
2 2 + 0 - 0 !
1 file changed, 2 insertions(+) |
extend docs/conf.py for offline build
By setting these extra variables, we can suppress a remote call which
would cause the build to fail.
|
Add missing GTest includes and linking.patch | (download) |
clients/benchmarks/CMakeLists.txt |
4 3 + 1 - 0 !
clients/include/testing_bsrmv.hpp |
1 1 + 0 - 0 !
2 files changed, 4 insertions(+), 1 deletion(-) |
add missing gtest includes and linking
The missing gtest.h causes a compile error because of GTEST_SKIP use,
which also seems to be the cause of a linking issue.
|
Skip upstream tests requiring upstream binaries.patch | (download) |
clients/include/utility.hpp |
14 11 + 3 - 0 !
clients/tests/test_bsr2csr.cpp |
6 6 + 0 - 0 !
clients/tests/test_bsric02.cpp |
6 6 + 0 - 0 !
clients/tests/test_bsrilu02.cpp |
6 6 + 0 - 0 !
clients/tests/test_bsrmm.cpp |
6 6 + 0 - 0 !
clients/tests/test_bsrmv.cpp |
6 6 + 0 - 0 !
clients/tests/test_bsrsm2.cpp |
6 6 + 0 - 0 !
clients/tests/test_bsrsv2.cpp |
6 6 + 0 - 0 !
clients/tests/test_coo2csr.cpp |
2 2 + 0 - 0 !
clients/tests/test_coosort.cpp |
2 2 + 0 - 0 !
clients/tests/test_cscsort.cpp |
2 2 + 0 - 0 !
clients/tests/test_csr2bsr.cpp |
6 6 + 0 - 0 !
clients/tests/test_csr2coo.cpp |
2 2 + 0 - 0 !
clients/tests/test_csr2csc.cpp |
6 6 + 0 - 0 !
clients/tests/test_csr2csc_ex2.cpp |
6 6 + 0 - 0 !
clients/tests/test_csr2csr_compress.cpp |
6 6 + 0 - 0 !
clients/tests/test_csr2gebsr.cpp |
6 6 + 0 - 0 !
clients/tests/test_csr2hyb.cpp |
6 6 + 0 - 0 !
clients/tests/test_csrgeam.cpp |
6 6 + 0 - 0 !
clients/tests/test_csrgeam2.cpp |
6 6 + 0 - 0 !
clients/tests/test_csrgemm.cpp |
6 6 + 0 - 0 !
clients/tests/test_csrgemm2_a.cpp |
6 6 + 0 - 0 !
clients/tests/test_csrgemm2_b.cpp |
6 6 + 0 - 0 !
clients/tests/test_csric02.cpp |
6 6 + 0 - 0 !
clients/tests/test_csrilu02.cpp |
6 6 + 0 - 0 !
clients/tests/test_csrilusv.cpp |
2 2 + 0 - 0 !
clients/tests/test_csrmm.cpp |
6 6 + 0 - 0 !
clients/tests/test_csrmv.cpp |
6 6 + 0 - 0 !
clients/tests/test_csrsm2.cpp |
6 6 + 0 - 0 !
clients/tests/test_csrsort.cpp |
2 2 + 0 - 0 !
clients/tests/test_csrsv2.cpp |
6 6 + 0 - 0 !
clients/tests/test_csru2csr.cpp |
2 2 + 0 - 0 !
clients/tests/test_gebsr2csr.cpp |
6 6 + 0 - 0 !
clients/tests/test_gebsr2gebsc.cpp |
6 6 + 0 - 0 !
clients/tests/test_gebsr2gebsr.cpp |
6 6 + 0 - 0 !
clients/tests/test_gemmi.cpp |
6 6 + 0 - 0 !
clients/tests/test_hyb2csr.cpp |
6 6 + 0 - 0 !
clients/tests/test_hybmv.cpp |
6 6 + 0 - 0 !
clients/tests/test_prune_csr2csr.cpp |
4 4 + 0 - 0 !
clients/tests/test_prune_csr2csr_by_percentage.cpp |
4 4 + 0 - 0 !
clients/tests/test_sddmm_coo.cpp |
6 6 + 0 - 0 !
clients/tests/test_sddmm_coo_aos.cpp |
6 6 + 0 - 0 !
clients/tests/test_sddmm_csc.cpp |
6 6 + 0 - 0 !
clients/tests/test_sddmm_csr.cpp |
6 6 + 0 - 0 !
clients/tests/test_sparse_to_dense_coo.cpp |
6 6 + 0 - 0 !
clients/tests/test_sparse_to_dense_csc.cpp |
6 6 + 0 - 0 !
clients/tests/test_sparse_to_dense_csr.cpp |
6 6 + 0 - 0 !
clients/tests/test_spgemm_csr.cpp |
6 6 + 0 - 0 !
clients/tests/test_spgemmreuse_csr.cpp |
6 6 + 0 - 0 !
clients/tests/test_spmm_batched_coo.cpp |
6 6 + 0 - 0 !
clients/tests/test_spmm_batched_csc.cpp |
6 6 + 0 - 0 !
clients/tests/test_spmm_batched_csr.cpp |
6 6 + 0 - 0 !
clients/tests/test_spmm_coo.cpp |
6 6 + 0 - 0 !
clients/tests/test_spmm_csc.cpp |
6 6 + 0 - 0 !
clients/tests/test_spmm_csr.cpp |
6 6 + 0 - 0 !
clients/tests/test_spmv_coo.cpp |
6 6 + 0 - 0 !
clients/tests/test_spmv_coo_aos.cpp |
6 6 + 0 - 0 !
clients/tests/test_spmv_csr.cpp |
6 6 + 0 - 0 !
clients/tests/test_spsm_coo.cpp |
6 6 + 0 - 0 !
clients/tests/test_spsm_csr.cpp |
6 6 + 0 - 0 !
clients/tests/test_spsv_coo.cpp |
6 6 + 0 - 0 !
clients/tests/test_spsv_csr.cpp |
6 6 + 0 - 0 !
62 files changed, 345 insertions(+), 3 deletions(-) |
skip upstream tests requiring upstream binaries
Upstream errors out hard when the text matrix binaries are not found.
Instead, don't exit, and skip the tests.
The tests were modified with:
$ grep -R get_filename clients/tests -l | \
xargs sed -i '/Arguments arg = /a SKIP_IF_DEBIANNOTFOUND(arg);'
This is related to allow-missing-matrix-data-in-tests.patch, though the
the complexity is sufficient to warrant its own patch.
|