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 -9;
55 }
56 }
57#endif
58
60 ldb, &work_query, lwork );
61 if( info != 0 ) {
62 goto exit_level_0;
63 }
65
67 if( work == NULL ) {
69 goto exit_level_0;
70 }
71
73 ldb, work, lwork );
74
76exit_level_0:
79 }
80 return info;
81}
#define LAPACK_WORK_MEMORY_ERROR
int LAPACKE_get_nancheck(void)
lapack_int LAPACKE_dsysv_rk_work(int matrix_layout, char uplo, lapack_int n, lapack_int nrhs, double *a, lapack_int lda, double *e, lapack_int *ipiv, double *b, lapack_int ldb, double *work, lapack_int lwork)
#define LAPACKE_malloc(size)
void LAPACKE_xerbla(const char *name, lapack_int info)
lapack_logical LAPACKE_dsy_nancheck(int matrix_layout, char uplo, lapack_int n, const double *a, lapack_int lda)
lapack_logical LAPACKE_dge_nancheck(int matrix_layout, lapack_int m, lapack_int n, const double *a, lapack_int lda)