38{
43 float* work = NULL;
45 float work_query;
48 return -1;
49 }
50#ifndef LAPACK_DISABLE_NAN_CHECK
52
54 return -6;
55 }
56 }
57#endif
58
60 ldz, &work_query, lwork, &iwork_query, liwork );
61 if( info != 0 ) {
62 goto exit_level_0;
63 }
64 liwork = iwork_query;
66
68 if( iwork == NULL ) {
70 goto exit_level_0;
71 }
73 if( work == NULL ) {
75 goto exit_level_1;
76 }
77
79 ldz, work, lwork, iwork, liwork );
80
82exit_level_1:
84exit_level_0:
87 }
88 return info;
89}
#define LAPACK_WORK_MEMORY_ERROR
lapack_int LAPACKE_ssbevd_2stage_work(int matrix_layout, char jobz, char uplo, lapack_int n, lapack_int kd, float *ab, lapack_int ldab, float *w, float *z, lapack_int ldz, float *work, lapack_int lwork, 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_ssb_nancheck(int matrix_layout, char uplo, lapack_int n, lapack_int kd, const float *ab, lapack_int ldab)