diff options
Diffstat (limited to 'lapacke/src/lapacke_zgerfs_work.c')
-rw-r--r-- | lapacke/src/lapacke_zgerfs_work.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lapacke/src/lapacke_zgerfs_work.c b/lapacke/src/lapacke_zgerfs_work.c index cb77f25a..865fc578 100644 --- a/lapacke/src/lapacke_zgerfs_work.c +++ b/lapacke/src/lapacke_zgerfs_work.c @@ -1,5 +1,5 @@ /***************************************************************************** - Copyright (c) 2011, Intel Corp. + Copyright (c) 2014, Intel Corp. All rights reserved. Redistribution and use in source and binary forms, with or without @@ -33,7 +33,7 @@ #include "lapacke_utils.h" -lapack_int LAPACKE_zgerfs_work( int matrix_order, char trans, lapack_int n, +lapack_int LAPACKE_zgerfs_work( int matrix_layout, char trans, lapack_int n, lapack_int nrhs, const lapack_complex_double* a, lapack_int lda, const lapack_complex_double* af, lapack_int ldaf, const lapack_int* ipiv, @@ -43,14 +43,14 @@ lapack_int LAPACKE_zgerfs_work( int matrix_order, char trans, lapack_int n, lapack_complex_double* work, double* rwork ) { lapack_int info = 0; - if( matrix_order == LAPACK_COL_MAJOR ) { + if( matrix_layout == LAPACK_COL_MAJOR ) { /* Call LAPACK function and adjust info */ LAPACK_zgerfs( &trans, &n, &nrhs, a, &lda, af, &ldaf, ipiv, b, &ldb, x, &ldx, ferr, berr, work, rwork, &info ); if( info < 0 ) { info = info - 1; } - } else if( matrix_order == LAPACK_ROW_MAJOR ) { + } else if( matrix_layout == LAPACK_ROW_MAJOR ) { lapack_int lda_t = MAX(1,n); lapack_int ldaf_t = MAX(1,n); lapack_int ldb_t = MAX(1,n); @@ -108,10 +108,10 @@ lapack_int LAPACKE_zgerfs_work( int matrix_order, char trans, lapack_int n, goto exit_level_3; } /* Transpose input matrices */ - LAPACKE_zge_trans( matrix_order, n, n, a, lda, a_t, lda_t ); - LAPACKE_zge_trans( matrix_order, n, n, af, ldaf, af_t, ldaf_t ); - LAPACKE_zge_trans( matrix_order, n, nrhs, b, ldb, b_t, ldb_t ); - LAPACKE_zge_trans( matrix_order, n, nrhs, x, ldx, x_t, ldx_t ); + LAPACKE_zge_trans( matrix_layout, n, n, a, lda, a_t, lda_t ); + LAPACKE_zge_trans( matrix_layout, n, n, af, ldaf, af_t, ldaf_t ); + LAPACKE_zge_trans( matrix_layout, n, nrhs, b, ldb, b_t, ldb_t ); + LAPACKE_zge_trans( matrix_layout, n, nrhs, x, ldx, x_t, ldx_t ); /* Call LAPACK function and adjust info */ LAPACK_zgerfs( &trans, &n, &nrhs, a_t, &lda_t, af_t, &ldaf_t, ipiv, b_t, &ldb_t, x_t, &ldx_t, ferr, berr, work, rwork, &info ); |