LAPACK  3.5.0
LAPACK: Linear Algebra PACKage
 All Files Functions 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

void LAPACKE_xerbla (const char *name, lapack_int info)
 

Function Documentation

void LAPACKE_xerbla ( const char *  name,
lapack_int  info 
)

Definition at line 37 of file lapacke_xerbla.c.

38 {
39  if( info == LAPACK_WORK_MEMORY_ERROR ) {
40  printf( "Not enough memory to allocate work array in %s\n", name );
41  } else if( info == LAPACK_TRANSPOSE_MEMORY_ERROR ) {
42  printf( "Not enough memory to transpose matrix in %s\n", name );
43  } else if( info < 0 ) {
44  printf( "Wrong parameter %d in %s\n", -(int) info, name );
45  }
46 }
#define LAPACK_TRANSPOSE_MEMORY_ERROR
Definition: lapacke.h:123
#define LAPACK_WORK_MEMORY_ERROR
Definition: lapacke.h:122