MAGMA  2.3.0
Matrix Algebra for GPU and Multicore Architectures
 All Classes Files Functions Friends Groups Pages
lauum: Multiply triangular matrices; used in potri

Functions

magma_int_t magma_clauum (magma_uplo_t uplo, magma_int_t n, magmaFloatComplex *A, magma_int_t lda, magma_int_t *info)
 CLAUUM computes the product U * U^H or L^H * L, where the triangular factor U or L is stored in the upper or lower triangular part of the array A. More...
 
magma_int_t magma_clauum_gpu (magma_uplo_t uplo, magma_int_t n, magmaFloatComplex_ptr dA, magma_int_t ldda, magma_int_t *info)
 CLAUUM computes the product U * U^H or L^H * L, where the triangular factor U or L is stored in the upper or lower triangular part of the array dA. More...
 
magma_int_t magma_dlauum (magma_uplo_t uplo, magma_int_t n, double *A, magma_int_t lda, magma_int_t *info)
 DLAUUM computes the product U * U^H or L^H * L, where the triangular factor U or L is stored in the upper or lower triangular part of the array A. More...
 
magma_int_t magma_dlauum_gpu (magma_uplo_t uplo, magma_int_t n, magmaDouble_ptr dA, magma_int_t ldda, magma_int_t *info)
 DLAUUM computes the product U * U^H or L^H * L, where the triangular factor U or L is stored in the upper or lower triangular part of the array dA. More...
 
magma_int_t magma_slauum (magma_uplo_t uplo, magma_int_t n, float *A, magma_int_t lda, magma_int_t *info)
 SLAUUM computes the product U * U^H or L^H * L, where the triangular factor U or L is stored in the upper or lower triangular part of the array A. More...
 
magma_int_t magma_slauum_gpu (magma_uplo_t uplo, magma_int_t n, magmaFloat_ptr dA, magma_int_t ldda, magma_int_t *info)
 SLAUUM computes the product U * U^H or L^H * L, where the triangular factor U or L is stored in the upper or lower triangular part of the array dA. More...
 
magma_int_t magma_zlauum (magma_uplo_t uplo, magma_int_t n, magmaDoubleComplex *A, magma_int_t lda, magma_int_t *info)
 ZLAUUM computes the product U * U^H or L^H * L, where the triangular factor U or L is stored in the upper or lower triangular part of the array A. More...
 
magma_int_t magma_zlauum_gpu (magma_uplo_t uplo, magma_int_t n, magmaDoubleComplex_ptr dA, magma_int_t ldda, magma_int_t *info)
 ZLAUUM computes the product U * U^H or L^H * L, where the triangular factor U or L is stored in the upper or lower triangular part of the array dA. More...
 

Detailed Description

Function Documentation

magma_int_t magma_clauum ( magma_uplo_t  uplo,
magma_int_t  n,
magmaFloatComplex *  A,
magma_int_t  lda,
magma_int_t *  info 
)

CLAUUM computes the product U * U^H or L^H * L, where the triangular factor U or L is stored in the upper or lower triangular part of the array A.

If UPLO = MagmaUpper then the upper triangle of the result is stored, overwriting the factor U in A. If UPLO = MagmaLower then the lower triangle of the result is stored, overwriting the factor L in A. This is the blocked form of the algorithm, calling Level 3 BLAS.

Parameters
[in]uplomagma_uplo_t Specifies whether the triangular factor stored in the array A is upper or lower triangular:
  • = MagmaUpper: Upper triangular
  • = MagmaLower: Lower triangular
[in]nINTEGER The order of the triangular factor U or L. N >= 0.
[in,out]ACOMPLEX array, dimension (LDA,N) On entry, the triangular factor U or L. On exit, if UPLO = MagmaUpper, the upper triangle of A is overwritten with the upper triangle of the product U * U^H; if UPLO = MagmaLower, the lower triangle of A is overwritten with the lower triangle of the product L^H * L.
[in]ldaINTEGER The leading dimension of the array A. LDA >= max(1,N).
[out]infoINTEGER
  • = 0: successful exit
  • < 0: if INFO = -k, the k-th argument had an illegal value
magma_int_t magma_clauum_gpu ( magma_uplo_t  uplo,
magma_int_t  n,
magmaFloatComplex_ptr  dA,
magma_int_t  ldda,
magma_int_t *  info 
)

CLAUUM computes the product U * U^H or L^H * L, where the triangular factor U or L is stored in the upper or lower triangular part of the array dA.

If UPLO = MagmaUpper then the upper triangle of the result is stored, overwriting the factor U in dA. If UPLO = MagmaLower then the lower triangle of the result is stored, overwriting the factor L in dA. This is the blocked form of the algorithm, calling Level 3 BLAS.

Parameters
[in]uplomagma_uplo_t Specifies whether the triangular factor stored in the array dA is upper or lower triangular:
  • = MagmaUpper: Upper triangular
  • = MagmaLower: Lower triangular
[in]nINTEGER The order of the triangular factor U or L. N >= 0.
[in,out]dACOMPLEX array on the GPU, dimension (LDDA,N) On entry, the triangular factor U or L. On exit, if UPLO = MagmaUpper, the upper triangle of dA is overwritten with the upper triangle of the product U * U^H; if UPLO = MagmaLower, the lower triangle of dA is overwritten with the lower triangle of the product L^H * L.
[in]lddaINTEGER The leading dimension of the array A. LDDA >= max(1,N).
[out]infoINTEGER
  • = 0: successful exit
  • < 0: if INFO = -k, the k-th argument had an illegal value
magma_int_t magma_dlauum ( magma_uplo_t  uplo,
magma_int_t  n,
double *  A,
magma_int_t  lda,
magma_int_t *  info 
)

DLAUUM computes the product U * U^H or L^H * L, where the triangular factor U or L is stored in the upper or lower triangular part of the array A.

If UPLO = MagmaUpper then the upper triangle of the result is stored, overwriting the factor U in A. If UPLO = MagmaLower then the lower triangle of the result is stored, overwriting the factor L in A. This is the blocked form of the algorithm, calling Level 3 BLAS.

Parameters
[in]uplomagma_uplo_t Specifies whether the triangular factor stored in the array A is upper or lower triangular:
  • = MagmaUpper: Upper triangular
  • = MagmaLower: Lower triangular
[in]nINTEGER The order of the triangular factor U or L. N >= 0.
[in,out]ADOUBLE PRECISION array, dimension (LDA,N) On entry, the triangular factor U or L. On exit, if UPLO = MagmaUpper, the upper triangle of A is overwritten with the upper triangle of the product U * U^H; if UPLO = MagmaLower, the lower triangle of A is overwritten with the lower triangle of the product L^H * L.
[in]ldaINTEGER The leading dimension of the array A. LDA >= max(1,N).
[out]infoINTEGER
  • = 0: successful exit
  • < 0: if INFO = -k, the k-th argument had an illegal value
magma_int_t magma_dlauum_gpu ( magma_uplo_t  uplo,
magma_int_t  n,
magmaDouble_ptr  dA,
magma_int_t  ldda,
magma_int_t *  info 
)

DLAUUM computes the product U * U^H or L^H * L, where the triangular factor U or L is stored in the upper or lower triangular part of the array dA.

If UPLO = MagmaUpper then the upper triangle of the result is stored, overwriting the factor U in dA. If UPLO = MagmaLower then the lower triangle of the result is stored, overwriting the factor L in dA. This is the blocked form of the algorithm, calling Level 3 BLAS.

Parameters
[in]uplomagma_uplo_t Specifies whether the triangular factor stored in the array dA is upper or lower triangular:
  • = MagmaUpper: Upper triangular
  • = MagmaLower: Lower triangular
[in]nINTEGER The order of the triangular factor U or L. N >= 0.
[in,out]dADOUBLE PRECISION array on the GPU, dimension (LDDA,N) On entry, the triangular factor U or L. On exit, if UPLO = MagmaUpper, the upper triangle of dA is overwritten with the upper triangle of the product U * U^H; if UPLO = MagmaLower, the lower triangle of dA is overwritten with the lower triangle of the product L^H * L.
[in]lddaINTEGER The leading dimension of the array A. LDDA >= max(1,N).
[out]infoINTEGER
  • = 0: successful exit
  • < 0: if INFO = -k, the k-th argument had an illegal value
magma_int_t magma_slauum ( magma_uplo_t  uplo,
magma_int_t  n,
float *  A,
magma_int_t  lda,
magma_int_t *  info 
)

SLAUUM computes the product U * U^H or L^H * L, where the triangular factor U or L is stored in the upper or lower triangular part of the array A.

If UPLO = MagmaUpper then the upper triangle of the result is stored, overwriting the factor U in A. If UPLO = MagmaLower then the lower triangle of the result is stored, overwriting the factor L in A. This is the blocked form of the algorithm, calling Level 3 BLAS.

Parameters
[in]uplomagma_uplo_t Specifies whether the triangular factor stored in the array A is upper or lower triangular:
  • = MagmaUpper: Upper triangular
  • = MagmaLower: Lower triangular
[in]nINTEGER The order of the triangular factor U or L. N >= 0.
[in,out]AREAL array, dimension (LDA,N) On entry, the triangular factor U or L. On exit, if UPLO = MagmaUpper, the upper triangle of A is overwritten with the upper triangle of the product U * U^H; if UPLO = MagmaLower, the lower triangle of A is overwritten with the lower triangle of the product L^H * L.
[in]ldaINTEGER The leading dimension of the array A. LDA >= max(1,N).
[out]infoINTEGER
  • = 0: successful exit
  • < 0: if INFO = -k, the k-th argument had an illegal value
magma_int_t magma_slauum_gpu ( magma_uplo_t  uplo,
magma_int_t  n,
magmaFloat_ptr  dA,
magma_int_t  ldda,
magma_int_t *  info 
)

SLAUUM computes the product U * U^H or L^H * L, where the triangular factor U or L is stored in the upper or lower triangular part of the array dA.

If UPLO = MagmaUpper then the upper triangle of the result is stored, overwriting the factor U in dA. If UPLO = MagmaLower then the lower triangle of the result is stored, overwriting the factor L in dA. This is the blocked form of the algorithm, calling Level 3 BLAS.

Parameters
[in]uplomagma_uplo_t Specifies whether the triangular factor stored in the array dA is upper or lower triangular:
  • = MagmaUpper: Upper triangular
  • = MagmaLower: Lower triangular
[in]nINTEGER The order of the triangular factor U or L. N >= 0.
[in,out]dAREAL array on the GPU, dimension (LDDA,N) On entry, the triangular factor U or L. On exit, if UPLO = MagmaUpper, the upper triangle of dA is overwritten with the upper triangle of the product U * U^H; if UPLO = MagmaLower, the lower triangle of dA is overwritten with the lower triangle of the product L^H * L.
[in]lddaINTEGER The leading dimension of the array A. LDDA >= max(1,N).
[out]infoINTEGER
  • = 0: successful exit
  • < 0: if INFO = -k, the k-th argument had an illegal value
magma_int_t magma_zlauum ( magma_uplo_t  uplo,
magma_int_t  n,
magmaDoubleComplex *  A,
magma_int_t  lda,
magma_int_t *  info 
)

ZLAUUM computes the product U * U^H or L^H * L, where the triangular factor U or L is stored in the upper or lower triangular part of the array A.

If UPLO = MagmaUpper then the upper triangle of the result is stored, overwriting the factor U in A. If UPLO = MagmaLower then the lower triangle of the result is stored, overwriting the factor L in A. This is the blocked form of the algorithm, calling Level 3 BLAS.

Parameters
[in]uplomagma_uplo_t Specifies whether the triangular factor stored in the array A is upper or lower triangular:
  • = MagmaUpper: Upper triangular
  • = MagmaLower: Lower triangular
[in]nINTEGER The order of the triangular factor U or L. N >= 0.
[in,out]ACOMPLEX_16 array, dimension (LDA,N) On entry, the triangular factor U or L. On exit, if UPLO = MagmaUpper, the upper triangle of A is overwritten with the upper triangle of the product U * U^H; if UPLO = MagmaLower, the lower triangle of A is overwritten with the lower triangle of the product L^H * L.
[in]ldaINTEGER The leading dimension of the array A. LDA >= max(1,N).
[out]infoINTEGER
  • = 0: successful exit
  • < 0: if INFO = -k, the k-th argument had an illegal value
magma_int_t magma_zlauum_gpu ( magma_uplo_t  uplo,
magma_int_t  n,
magmaDoubleComplex_ptr  dA,
magma_int_t  ldda,
magma_int_t *  info 
)

ZLAUUM computes the product U * U^H or L^H * L, where the triangular factor U or L is stored in the upper or lower triangular part of the array dA.

If UPLO = MagmaUpper then the upper triangle of the result is stored, overwriting the factor U in dA. If UPLO = MagmaLower then the lower triangle of the result is stored, overwriting the factor L in dA. This is the blocked form of the algorithm, calling Level 3 BLAS.

Parameters
[in]uplomagma_uplo_t Specifies whether the triangular factor stored in the array dA is upper or lower triangular:
  • = MagmaUpper: Upper triangular
  • = MagmaLower: Lower triangular
[in]nINTEGER The order of the triangular factor U or L. N >= 0.
[in,out]dACOMPLEX_16 array on the GPU, dimension (LDDA,N) On entry, the triangular factor U or L. On exit, if UPLO = MagmaUpper, the upper triangle of dA is overwritten with the upper triangle of the product U * U^H; if UPLO = MagmaLower, the lower triangle of dA is overwritten with the lower triangle of the product L^H * L.
[in]lddaINTEGER The leading dimension of the array A. LDDA >= max(1,N).
[out]infoINTEGER
  • = 0: successful exit
  • < 0: if INFO = -k, the k-th argument had an illegal value