LAPACK  3.5.0
LAPACK: Linear Algebra PACKage
 All Classes Files Functions Variables Typedefs Macros
lapacke_xerbla.c File Reference
#include <stdio.h>
#include "lapacke_utils.h"
Include dependency graph for lapacke_xerbla.c:

Go to the source code of this file.

Functions/Subroutines

void LAPACKE_xerbla (const char *name, lapack_int info)

Function/Subroutine Documentation

void LAPACKE_xerbla ( const char *  name,
lapack_int  info 
)

Definition at line 37 of file lapacke_xerbla.c.

{
if( info == LAPACK_WORK_MEMORY_ERROR ) {
printf( "Not enough memory to allocate work array in %s\n", name );
} else if( info == LAPACK_TRANSPOSE_MEMORY_ERROR ) {
printf( "Not enough memory to transpose matrix in %s\n", name );
} else if( info < 0 ) {
printf( "Wrong parameter %d in %s\n", -(int) info, name );
}
}