summaryrefslogtreecommitdiff
path: root/lapacke/src/lapacke_csysv_work.c
diff options
context:
space:
mode:
Diffstat (limited to 'lapacke/src/lapacke_csysv_work.c')
-rw-r--r--lapacke/src/lapacke_csysv_work.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lapacke/src/lapacke_csysv_work.c b/lapacke/src/lapacke_csysv_work.c
index 90135c5b..30aa1d35 100644
--- a/lapacke/src/lapacke_csysv_work.c
+++ b/lapacke/src/lapacke_csysv_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,21 +33,21 @@
#include "lapacke_utils.h"
-lapack_int LAPACKE_csysv_work( int matrix_order, char uplo, lapack_int n,
+lapack_int LAPACKE_csysv_work( int matrix_layout, char uplo, lapack_int n,
lapack_int nrhs, lapack_complex_float* a,
lapack_int lda, lapack_int* ipiv,
lapack_complex_float* b, lapack_int ldb,
lapack_complex_float* work, lapack_int lwork )
{
lapack_int info = 0;
- if( matrix_order == LAPACK_COL_MAJOR ) {
+ if( matrix_layout == LAPACK_COL_MAJOR ) {
/* Call LAPACK function and adjust info */
LAPACK_csysv( &uplo, &n, &nrhs, a, &lda, ipiv, b, &ldb, work, &lwork,
&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 ldb_t = MAX(1,n);
lapack_complex_float* a_t = NULL;
@@ -84,8 +84,8 @@ lapack_int LAPACKE_csysv_work( int matrix_order, char uplo, lapack_int n,
goto exit_level_1;
}
/* Transpose input matrices */
- LAPACKE_csy_trans( matrix_order, uplo, n, a, lda, a_t, lda_t );
- LAPACKE_cge_trans( matrix_order, n, nrhs, b, ldb, b_t, ldb_t );
+ LAPACKE_csy_trans( matrix_layout, uplo, n, a, lda, a_t, lda_t );
+ LAPACKE_cge_trans( matrix_layout, n, nrhs, b, ldb, b_t, ldb_t );
/* Call LAPACK function and adjust info */
LAPACK_csysv( &uplo, &n, &nrhs, a_t, &lda_t, ipiv, b_t, &ldb_t, work,
&lwork, &info );