-
Notifications
You must be signed in to change notification settings - Fork 41
Running
Nico edited this page Jul 24, 2018
·
1 revision
Before reading this Wiki, it is assumed hipSPARSE with the client applications has been successfully built as described in Build hipSPARSE libraries and verification code
cd [BUILD_DIR]/example
./example-csrmv 1000
Example code that calls hipSPARSE csrmv routine.
Run tests with the following:
cd [BUILD_DIR]/clients/tests
./hipsparse-test
To run specific tests, use --gtest_filter=match where match is a ':'-separated list of wildcard patterns (called the positive patterns) optionally followed by a '-' and another ':'-separated pattern list (called the negative patterns). For example, run coo2csr tests with the following commands:
cd [BUILD_DIR]/clients/tests
./hipsparse-test --gtest_filter=*coo2csr*
Please note, that tests are only supported when configured with rocSPARSE backend.