37{
40 double* work = NULL;
41 double work_query;
44 return -1;
45 }
46#ifndef LAPACK_DISABLE_NAN_CHECK
48
50 return -3;
51 }
52 }
53#endif
54
56 lwork );
57 if( info != 0 ) {
58 goto exit_level_0;
59 }
61
63 if( work == NULL ) {
65 goto exit_level_0;
66 }
67
69
71exit_level_0:
74 }
75 return info;
76}
#define LAPACK_WORK_MEMORY_ERROR
int LAPACKE_get_nancheck(void)
#define LAPACKE_malloc(size)
lapack_int LAPACKE_dgetri_work(int matrix_layout, lapack_int n, double *a, lapack_int lda, const lapack_int *ipiv, double *work, lapack_int lwork)
void LAPACKE_xerbla(const char *name, lapack_int info)
lapack_logical LAPACKE_dge_nancheck(int matrix_layout, lapack_int m, lapack_int n, const double *a, lapack_int lda)