diff options
Diffstat (limited to 'lapacke/src/lapacke_sppsv_work.c')
-rw-r--r-- | lapacke/src/lapacke_sppsv_work.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lapacke/src/lapacke_sppsv_work.c b/lapacke/src/lapacke_sppsv_work.c index 6fe5d80e..78dcd74a 100644 --- a/lapacke/src/lapacke_sppsv_work.c +++ b/lapacke/src/lapacke_sppsv_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,18 +33,18 @@ #include "lapacke_utils.h" -lapack_int LAPACKE_sppsv_work( int matrix_order, char uplo, lapack_int n, +lapack_int LAPACKE_sppsv_work( int matrix_layout, char uplo, lapack_int n, lapack_int nrhs, float* ap, float* b, lapack_int ldb ) { lapack_int info = 0; - if( matrix_order == LAPACK_COL_MAJOR ) { + if( matrix_layout == LAPACK_COL_MAJOR ) { /* Call LAPACK function and adjust info */ LAPACK_sppsv( &uplo, &n, &nrhs, ap, b, &ldb, &info ); if( info < 0 ) { info = info - 1; } - } else if( matrix_order == LAPACK_ROW_MAJOR ) { + } else if( matrix_layout == LAPACK_ROW_MAJOR ) { lapack_int ldb_t = MAX(1,n); float* b_t = NULL; float* ap_t = NULL; @@ -67,8 +67,8 @@ lapack_int LAPACKE_sppsv_work( int matrix_order, char uplo, lapack_int n, goto exit_level_1; } /* Transpose input matrices */ - LAPACKE_sge_trans( matrix_order, n, nrhs, b, ldb, b_t, ldb_t ); - LAPACKE_spp_trans( matrix_order, uplo, n, ap, ap_t ); + LAPACKE_sge_trans( matrix_layout, n, nrhs, b, ldb, b_t, ldb_t ); + LAPACKE_spp_trans( matrix_layout, uplo, n, ap, ap_t ); /* Call LAPACK function and adjust info */ LAPACK_sppsv( &uplo, &n, &nrhs, ap_t, b_t, &ldb_t, &info ); if( info < 0 ) { |