MAGMA 2.9.0
Matrix Algebra for GPU and Multicore Architectures
Loading...
Searching...
No Matches
Running tests

The testing directory includes tests of most MAGMA functions. These are useful as examples, though they contain additional testing features that your application does not need, or would do differently. The example directory has a simple example without all this additional framework.

The run_tests.py script runs a standard set of test sizes and options. If output is to a file, a summary is printed to stderr. Currently, nearly all the tests pass with --tol 100. With the default tolerance, usually 30, some tests will signal false negatives, where the test is okay but just slightly above the accuracy tolerance check.

The run_summarize.py script post-processes tester output to find errors, failed tests, suspicious tests that were just a little above the accuracy threshold, and known failures (see BUGS.txt). For example: