44{
47
48 LAPACK_sporfsx( &uplo, &equed, &
n, &nrhs, a, &lda, af, &ldaf, s, b,
49 &ldb,
x, &ldx, rcond, berr, &n_err_bnds, err_bnds_norm,
50 err_bnds_comp, &nparams, params, work, iwork, &info );
51 if( info < 0 ) {
52 info = info - 1;
53 }
59 float* a_t = NULL;
60 float* af_t = NULL;
61 float* b_t = NULL;
62 float* x_t = NULL;
63 float* err_bnds_norm_t = NULL;
64 float* err_bnds_comp_t = NULL;
65
67 info = -7;
69 return info;
70 }
72 info = -9;
74 return info;
75 }
76 if( ldb < nrhs ) {
77 info = -12;
79 return info;
80 }
81 if( ldx < nrhs ) {
82 info = -14;
84 return info;
85 }
86
88 if( a_t == NULL ) {
90 goto exit_level_0;
91 }
93 if( af_t == NULL ) {
95 goto exit_level_1;
96 }
98 if( b_t == NULL ) {
100 goto exit_level_2;
101 }
103 if( x_t == NULL ) {
105 goto exit_level_3;
106 }
107 err_bnds_norm_t = (float*)
109 if( err_bnds_norm_t == NULL ) {
111 goto exit_level_4;
112 }
113 err_bnds_comp_t = (float*)
115 if( err_bnds_comp_t == NULL ) {
117 goto exit_level_5;
118 }
119
124
125 LAPACK_sporfsx( &uplo, &equed, &
n, &nrhs, a_t, &lda_t, af_t, &ldaf_t, s,
126 b_t, &ldb_t, x_t, &ldx_t, rcond, berr, &n_err_bnds,
127 err_bnds_norm_t, err_bnds_comp_t, &nparams, params,
128 work, iwork, &info );
129 if( info < 0 ) {
130 info = info - 1;
131 }
132
135 nrhs, err_bnds_norm, nrhs );
137 nrhs, err_bnds_comp, nrhs );
138
140exit_level_5:
142exit_level_4:
144exit_level_3:
146exit_level_2:
148exit_level_1:
150exit_level_0:
153 }
154 } else {
155 info = -1;
157 }
158 return info;
159}
#define LAPACK_sporfsx(...)
#define LAPACKE_malloc(size)
#define LAPACK_TRANSPOSE_MEMORY_ERROR
void LAPACKE_xerbla(const char *name, lapack_int info)
void LAPACKE_ssy_trans(int matrix_layout, char uplo, lapack_int n, const float *in, lapack_int ldin, float *out, lapack_int ldout)
void LAPACKE_sge_trans(int matrix_layout, lapack_int m, lapack_int n, const float *in, lapack_int ldin, float *out, lapack_int ldout)