39{
45 float* rwork = NULL;
48 float rwork_query;
52 return -1;
53 }
54#ifndef LAPACK_DISABLE_NAN_CHECK
56
58 return -6;
59 }
61 return -8;
62 }
63 }
64#endif
65
67 ldb, w, &work_query, lwork, &rwork_query,
68 lrwork, &iwork_query, liwork );
69 if( info != 0 ) {
70 goto exit_level_0;
71 }
72 liwork = iwork_query;
75
77 if( iwork == NULL ) {
79 goto exit_level_0;
80 }
82 if( rwork == NULL ) {
84 goto exit_level_1;
85 }
88 if( work == NULL ) {
90 goto exit_level_2;
91 }
92
94 ldb, w, work, lwork, rwork, lrwork, iwork,
95 liwork );
96
98exit_level_2:
100exit_level_1:
102exit_level_0:
105 }
106 return info;
107}
#define lapack_complex_float
#define LAPACK_WORK_MEMORY_ERROR
lapack_int LAPACKE_chegvd_work(int matrix_layout, lapack_int itype, char jobz, char uplo, lapack_int n, lapack_complex_float *a, lapack_int lda, lapack_complex_float *b, lapack_int ldb, float *w, lapack_complex_float *work, lapack_int lwork, float *rwork, lapack_int lrwork, lapack_int *iwork, lapack_int liwork)
int LAPACKE_get_nancheck(void)
#define LAPACKE_malloc(size)
void LAPACKE_xerbla(const char *name, lapack_int info)
lapack_logical LAPACKE_che_nancheck(int matrix_layout, char uplo, lapack_int n, const lapack_complex_float *a, lapack_int lda)