40{
46 float* rwork = NULL;
49 float rwork_query;
53 return -1;
54 }
55#ifndef LAPACK_DISABLE_NAN_CHECK
57
59 return -7;
60 }
62 return -9;
63 }
64 }
65#endif
66
68 bb, ldbb, w, z, ldz, &work_query, lwork,
69 &rwork_query, lrwork, &iwork_query, liwork );
70 if( info != 0 ) {
71 goto exit_level_0;
72 }
73 liwork = iwork_query;
76
78 if( iwork == NULL ) {
80 goto exit_level_0;
81 }
83 if( rwork == NULL ) {
85 goto exit_level_1;
86 }
89 if( work == NULL ) {
91 goto exit_level_2;
92 }
93
95 bb, ldbb, w, z, ldz, work, lwork, rwork, lrwork,
96 iwork, liwork );
97
99exit_level_2:
101exit_level_1:
103exit_level_0:
106 }
107 return info;
108}
#define lapack_complex_float
#define LAPACK_WORK_MEMORY_ERROR
lapack_int LAPACKE_chbgvd_work(int matrix_layout, char jobz, char uplo, lapack_int n, lapack_int ka, lapack_int kb, lapack_complex_float *ab, lapack_int ldab, lapack_complex_float *bb, lapack_int ldbb, float *w, lapack_complex_float *z, lapack_int ldz, 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_chb_nancheck(int matrix_layout, char uplo, lapack_int n, lapack_int kd, const lapack_complex_float *ab, lapack_int ldab)