Reproducing rocsolver sparse test data
Hi Christian,
I pinged rocSOLVER team about reproducing the matrix data found in the
clients/sparsedata directory [1]. Juan Zuniga-anaya replied:
You can use `genmat_gen` and `genmat_posdef`
(descriptions/instructions are inside the scripts)
I don't think the random generator part (the `sprand` command) is
seeded, so you might not get the exact same matrices we have in
clients/sparsedata, but you'll get a complete set for the tests.
[If Debian needs] to be able to generate the exact same matricies that
we have in the repo, then we will need to add a seed in the scripts,
re-generate all our matrices and replace them.
Note that in recent versions of rocsolver, there are now sparse
functions available when the rocsparse library is available. If
rocsparse is not available, then rocsolver_create_rfinfo will return
rocblas_status_not_implemented. It's a judgement call as to whether
rocsparse should be added to Recommends or Suggests. I suspect that
there are a few users for which the sparse functionality is quite
important, and that many users don't need it. With that said, I have no
hard data to base that on. I might cautiously choose Recommends, as it
was a required dependency upstream for several releases and some users
might just expect the functionality to exist by default.
Sincerely,
Cory Bloor
[1]:
https://salsa.debian.org/rocm-team/rocsolver/-/tree/upstream/6.4.1/clients/sparsedata?ref_type=tags
Reply to: