40{
44 float* work = NULL;
45 float work_query;
48 return -1;
49 }
50#ifndef LAPACK_DISABLE_NAN_CHECK
52
54 return -6;
55 }
57 return -12;
58 }
61 return -8;
62 }
63 }
66 return -9;
67 }
68 }
69 }
70#endif
71
73 if( iwork == NULL ) {
75 goto exit_level_0;
76 }
77
79 vu, il, iu, abstol, m, w, z, ldz, &work_query,
80 lwork, iwork, ifail );
81 if( info != 0 ) {
82 goto exit_level_1;
83 }
85
87 if( work == NULL ) {
89 goto exit_level_1;
90 }
91
93 vu, il, iu, abstol, m, w, z, ldz, work, lwork,
94 iwork, ifail );
95
97exit_level_1:
99exit_level_0:
102 }
103 return info;
104}
#define LAPACK_WORK_MEMORY_ERROR
lapack_int LAPACKE_ssyevx_work(int matrix_layout, char jobz, char range, char uplo, lapack_int n, float *a, lapack_int lda, float vl, float vu, lapack_int il, lapack_int iu, float abstol, lapack_int *m, float *w, float *z, lapack_int ldz, float *work, lapack_int lwork, lapack_int *iwork, lapack_int *ifail)
int LAPACKE_get_nancheck(void)
#define LAPACKE_malloc(size)
lapack_logical LAPACKE_lsame(char ca, char cb)
void LAPACKE_xerbla(const char *name, lapack_int info)
lapack_logical LAPACKE_s_nancheck(lapack_int n, const float *x, lapack_int incx)
lapack_logical LAPACKE_ssy_nancheck(int matrix_layout, char uplo, lapack_int n, const float *a, lapack_int lda)