![]() |
MAGMA
2.7.0
Matrix Algebra for GPU and Multicore Architectures
|
Modules | |
| MAGMA error codes | |
Functions | |
| void | magma_xerbla (const char *srname, magma_int_t neg_info) |
| magma_xerbla is an error handler for the MAGMA routines. More... | |
| const char * | magma_strerror (magma_int_t err) |
| void magma_xerbla | ( | const char * | srname, |
| magma_int_t | neg_info | ||
| ) |
magma_xerbla is an error handler for the MAGMA routines.
It is called by a MAGMA routine if an input parameter has an invalid value. It prints an error message.
Installers may consider modifying it to call system-specific exception-handling facilities.
| [in] | srname | CHAR* The name of the subroutine that called XERBLA. In C/C++ it is convenient to use "__func__". |
| [in] | neg_info | INTEGER Error code. Note neg_info's sign is opposite info's normal sign. |
Normally:
The conditions below are also reported, but normally code should not call xerbla for these runtime errors:
| const char* magma_strerror | ( | magma_int_t | err | ) |
| [in] | err | Error code. |