MAGMA  2.3.0
Matrix Algebra for GPU and Multicore Architectures
 All Classes Files Functions Friends Groups Pages

\( C = \alpha A A^T + \beta C \) where \( C \) is Hermitian More...

Functions

void magma_cherk (magma_uplo_t uplo, magma_trans_t trans, magma_int_t n, magma_int_t k, float alpha, magmaFloatComplex_const_ptr dA, magma_int_t ldda, float beta, magmaFloatComplex_ptr dC, magma_int_t lddc, magma_queue_t queue)
 Perform Hermitian rank-k update. More...
 
void magma_zherk (magma_uplo_t uplo, magma_trans_t trans, magma_int_t n, magma_int_t k, double alpha, magmaDoubleComplex_const_ptr dA, magma_int_t ldda, double beta, magmaDoubleComplex_ptr dC, magma_int_t lddc, magma_queue_t queue)
 Perform Hermitian rank-k update. More...
 
void magma_cherk_mgpu (magma_int_t ngpu, magma_uplo_t uplo, magma_trans_t trans, magma_int_t nb, magma_int_t n, magma_int_t k, float alpha, magmaFloatComplex_ptr dB[], magma_int_t lddb, magma_int_t b_offset, float beta, magmaFloatComplex_ptr dC[], magma_int_t lddc, magma_int_t c_offset, magma_int_t nqueue, magma_queue_t queues[][10])
 This cherk_mgpu is internal routine used by cpotrf_mgpu_right. More...
 
void magma_dsyrk_mgpu (magma_int_t ngpu, magma_uplo_t uplo, magma_trans_t trans, magma_int_t nb, magma_int_t n, magma_int_t k, double alpha, magmaDouble_ptr dB[], magma_int_t lddb, magma_int_t b_offset, double beta, magmaDouble_ptr dC[], magma_int_t lddc, magma_int_t c_offset, magma_int_t nqueue, magma_queue_t queues[][10])
 This dsyrk_mgpu is internal routine used by dpotrf_mgpu_right. More...
 
void magma_ssyrk_mgpu (magma_int_t ngpu, magma_uplo_t uplo, magma_trans_t trans, magma_int_t nb, magma_int_t n, magma_int_t k, float alpha, magmaFloat_ptr dB[], magma_int_t lddb, magma_int_t b_offset, float beta, magmaFloat_ptr dC[], magma_int_t lddc, magma_int_t c_offset, magma_int_t nqueue, magma_queue_t queues[][10])
 This ssyrk_mgpu is internal routine used by spotrf_mgpu_right. More...
 
void magma_zherk_mgpu (magma_int_t ngpu, magma_uplo_t uplo, magma_trans_t trans, magma_int_t nb, magma_int_t n, magma_int_t k, double alpha, magmaDoubleComplex_ptr dB[], magma_int_t lddb, magma_int_t b_offset, double beta, magmaDoubleComplex_ptr dC[], magma_int_t lddc, magma_int_t c_offset, magma_int_t nqueue, magma_queue_t queues[][10])
 This zherk_mgpu is internal routine used by zpotrf_mgpu_right. More...
 

Detailed Description

\( C = \alpha A A^T + \beta C \) where \( C \) is Hermitian

Function Documentation

void magma_cherk ( magma_uplo_t  uplo,
magma_trans_t  trans,
magma_int_t  n,
magma_int_t  k,
float  alpha,
magmaFloatComplex_const_ptr  dA,
magma_int_t  ldda,
float  beta,
magmaFloatComplex_ptr  dC,
magma_int_t  lddc,
magma_queue_t  queue 
)

Perform Hermitian rank-k update.

\( C = \alpha A A^H + \beta C \) (trans == MagmaNoTrans), or
\( C = \alpha A^H A + \beta C \) (trans == MagmaConjTrans),
where \( C \) is Hermitian.

Parameters
[in]uploWhether the upper or lower triangle of C is referenced.
[in]transOperation to perform on A.
[in]nNumber of rows and columns of C. n >= 0.
[in]kNumber of columns of A (for MagmaNoTrans) or rows of A (for MagmaConjTrans). k >= 0.
[in]alphaScalar \( \alpha \)
[in]dACOMPLEX array on GPU device. If trans == MagmaNoTrans, the n-by-k matrix A of dimension (ldda,k), ldda >= max(1,n);
otherwise, the k-by-n matrix A of dimension (ldda,n), ldda >= max(1,k).
[in]lddaLeading dimension of dA.
[in]betaScalar \( \beta \)
[in,out]dCCOMPLEX array on GPU device. The n-by-n Hermitian matrix C of dimension (lddc,n), lddc >= max(1,n).
[in]lddcLeading dimension of dC.
[in]queuemagma_queue_t Queue to execute in.
void magma_zherk ( magma_uplo_t  uplo,
magma_trans_t  trans,
magma_int_t  n,
magma_int_t  k,
double  alpha,
magmaDoubleComplex_const_ptr  dA,
magma_int_t  ldda,
double  beta,
magmaDoubleComplex_ptr  dC,
magma_int_t  lddc,
magma_queue_t  queue 
)

Perform Hermitian rank-k update.

\( C = \alpha A A^H + \beta C \) (trans == MagmaNoTrans), or
\( C = \alpha A^H A + \beta C \) (trans == MagmaConjTrans),
where \( C \) is Hermitian.

Parameters
[in]uploWhether the upper or lower triangle of C is referenced.
[in]transOperation to perform on A.
[in]nNumber of rows and columns of C. n >= 0.
[in]kNumber of columns of A (for MagmaNoTrans) or rows of A (for MagmaConjTrans). k >= 0.
[in]alphaScalar \( \alpha \)
[in]dACOMPLEX_16 array on GPU device. If trans == MagmaNoTrans, the n-by-k matrix A of dimension (ldda,k), ldda >= max(1,n);
otherwise, the k-by-n matrix A of dimension (ldda,n), ldda >= max(1,k).
[in]lddaLeading dimension of dA.
[in]betaScalar \( \beta \)
[in,out]dCCOMPLEX_16 array on GPU device. The n-by-n Hermitian matrix C of dimension (lddc,n), lddc >= max(1,n).
[in]lddcLeading dimension of dC.
[in]queuemagma_queue_t Queue to execute in.
void magma_cherk_mgpu ( magma_int_t  ngpu,
magma_uplo_t  uplo,
magma_trans_t  trans,
magma_int_t  nb,
magma_int_t  n,
magma_int_t  k,
float  alpha,
magmaFloatComplex_ptr  dB[],
magma_int_t  lddb,
magma_int_t  b_offset,
float  beta,
magmaFloatComplex_ptr  dC[],
magma_int_t  lddc,
magma_int_t  c_offset,
magma_int_t  nqueue,
magma_queue_t  queues[][10] 
)

This cherk_mgpu is internal routine used by cpotrf_mgpu_right.

It has specific assumption on the block diagonal.

void magma_dsyrk_mgpu ( magma_int_t  ngpu,
magma_uplo_t  uplo,
magma_trans_t  trans,
magma_int_t  nb,
magma_int_t  n,
magma_int_t  k,
double  alpha,
magmaDouble_ptr  dB[],
magma_int_t  lddb,
magma_int_t  b_offset,
double  beta,
magmaDouble_ptr  dC[],
magma_int_t  lddc,
magma_int_t  c_offset,
magma_int_t  nqueue,
magma_queue_t  queues[][10] 
)

This dsyrk_mgpu is internal routine used by dpotrf_mgpu_right.

It has specific assumption on the block diagonal.

void magma_ssyrk_mgpu ( magma_int_t  ngpu,
magma_uplo_t  uplo,
magma_trans_t  trans,
magma_int_t  nb,
magma_int_t  n,
magma_int_t  k,
float  alpha,
magmaFloat_ptr  dB[],
magma_int_t  lddb,
magma_int_t  b_offset,
float  beta,
magmaFloat_ptr  dC[],
magma_int_t  lddc,
magma_int_t  c_offset,
magma_int_t  nqueue,
magma_queue_t  queues[][10] 
)

This ssyrk_mgpu is internal routine used by spotrf_mgpu_right.

It has specific assumption on the block diagonal.

void magma_zherk_mgpu ( magma_int_t  ngpu,
magma_uplo_t  uplo,
magma_trans_t  trans,
magma_int_t  nb,
magma_int_t  n,
magma_int_t  k,
double  alpha,
magmaDoubleComplex_ptr  dB[],
magma_int_t  lddb,
magma_int_t  b_offset,
double  beta,
magmaDoubleComplex_ptr  dC[],
magma_int_t  lddc,
magma_int_t  c_offset,
magma_int_t  nqueue,
magma_queue_t  queues[][10] 
)

This zherk_mgpu is internal routine used by zpotrf_mgpu_right.

It has specific assumption on the block diagonal.