diff options
Diffstat (limited to 'lapacke/src/lapacke_zhegvd_work.c')
-rw-r--r-- | lapacke/src/lapacke_zhegvd_work.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lapacke/src/lapacke_zhegvd_work.c b/lapacke/src/lapacke_zhegvd_work.c index 469b8c92..c1b9651b 100644 --- a/lapacke/src/lapacke_zhegvd_work.c +++ b/lapacke/src/lapacke_zhegvd_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_zhegvd_work( int matrix_order, lapack_int itype, char jobz, +lapack_int LAPACKE_zhegvd_work( int matrix_layout, lapack_int itype, char jobz, char uplo, lapack_int n, lapack_complex_double* a, lapack_int lda, lapack_complex_double* b, lapack_int ldb, @@ -43,14 +43,14 @@ lapack_int LAPACKE_zhegvd_work( int matrix_order, lapack_int itype, char jobz, lapack_int liwork ) { lapack_int info = 0; - if( matrix_order == LAPACK_COL_MAJOR ) { + if( matrix_layout == LAPACK_COL_MAJOR ) { /* Call LAPACK function and adjust info */ LAPACK_zhegvd( &itype, &jobz, &uplo, &n, a, &lda, b, &ldb, w, work, &lwork, rwork, &lrwork, iwork, &liwork, &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_double* a_t = NULL; @@ -87,8 +87,8 @@ lapack_int LAPACKE_zhegvd_work( int matrix_order, lapack_int itype, char jobz, goto exit_level_1; } /* Transpose input matrices */ - LAPACKE_zge_trans( matrix_order, n, n, a, lda, a_t, lda_t ); - LAPACKE_zge_trans( matrix_order, n, n, b, ldb, b_t, ldb_t ); + LAPACKE_zge_trans( matrix_layout, n, n, a, lda, a_t, lda_t ); + LAPACKE_zge_trans( matrix_layout, n, n, b, ldb, b_t, ldb_t ); /* Call LAPACK function and adjust info */ LAPACK_zhegvd( &itype, &jobz, &uplo, &n, a_t, &lda_t, b_t, &ldb_t, w, work, &lwork, rwork, &lrwork, iwork, &liwork, &info ); |