38{
41 double* work = NULL;
42 double work_query;
45 return -1;
46 }
47#ifndef LAPACK_DISABLE_NAN_CHECK
49
51 return -5;
52 }
54 return -7;
55 }
57 return -9;
58 }
60 return -10;
61 }
62 }
63#endif
64
65 info =
LAPACKE_dgglse_work( matrix_layout, m,
n, p, a, lda, b, ldb, c, d,
x,
66 &work_query, lwork );
67 if( info != 0 ) {
68 goto exit_level_0;
69 }
71
73 if( work == NULL ) {
75 goto exit_level_0;
76 }
77
78 info =
LAPACKE_dgglse_work( matrix_layout, m,
n, p, a, lda, b, ldb, c, d,
x,
79 work, lwork );
80
82exit_level_0:
85 }
86 return info;
87}
#define LAPACK_WORK_MEMORY_ERROR
lapack_int LAPACKE_dgglse_work(int matrix_layout, lapack_int m, lapack_int n, lapack_int p, double *a, lapack_int lda, double *b, lapack_int ldb, double *c, double *d, double *x, double *work, lapack_int lwork)
int LAPACKE_get_nancheck(void)
#define LAPACKE_malloc(size)
void LAPACKE_xerbla(const char *name, lapack_int info)
lapack_logical LAPACKE_d_nancheck(lapack_int n, const double *x, lapack_int incx)
lapack_logical LAPACKE_dge_nancheck(int matrix_layout, lapack_int m, lapack_int n, const double *a, lapack_int lda)