![]() |
MAGMA
2.0.2
Matrix Algebra for GPU and Multicore Architectures
|
Functions | |
void | magma_cgemv (magma_trans_t transA, magma_int_t m, magma_int_t n, magmaFloatComplex alpha, magmaFloatComplex_const_ptr dA, magma_int_t ldda, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex beta, magmaFloatComplex_ptr dy, magma_int_t incy) |
Perform matrix-vector product. More... | |
void | magma_cgerc (magma_int_t m, magma_int_t n, magmaFloatComplex alpha, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex_const_ptr dy, magma_int_t incy, magmaFloatComplex_ptr dA, magma_int_t ldda) |
Perform rank-1 update, \( A = \alpha x y^H + A \). More... | |
void | magma_cgeru (magma_int_t m, magma_int_t n, magmaFloatComplex alpha, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex_const_ptr dy, magma_int_t incy, magmaFloatComplex_ptr dA, magma_int_t ldda) |
Perform rank-1 update (unconjugated), \( A = \alpha x y^H + A \). More... | |
void | magma_chemv (magma_uplo_t uplo, magma_int_t n, magmaFloatComplex alpha, magmaFloatComplex_const_ptr dA, magma_int_t ldda, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex beta, magmaFloatComplex_ptr dy, magma_int_t incy) |
Perform Hermitian matrix-vector product, \( y = \alpha A x + \beta y \). More... | |
void | magma_cher (magma_uplo_t uplo, magma_int_t n, float alpha, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex_ptr dA, magma_int_t ldda) |
Perform Hermitian rank-1 update, \( A = \alpha x x^H + A \). More... | |
void | magma_cher2 (magma_uplo_t uplo, magma_int_t n, magmaFloatComplex alpha, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex_const_ptr dy, magma_int_t incy, magmaFloatComplex_ptr dA, magma_int_t ldda) |
Perform Hermitian rank-2 update, \( A = \alpha x y^H + conj(\alpha) y x^H + A \). More... | |
void | magma_ctrmv (magma_uplo_t uplo, magma_trans_t trans, magma_diag_t diag, magma_int_t n, magmaFloatComplex_const_ptr dA, magma_int_t ldda, magmaFloatComplex_ptr dx, magma_int_t incx) |
Perform triangular matrix-vector product. More... | |
void | magma_ctrsv (magma_uplo_t uplo, magma_trans_t trans, magma_diag_t diag, magma_int_t n, magmaFloatComplex_const_ptr dA, magma_int_t ldda, magmaFloatComplex_ptr dx, magma_int_t incx) |
Solve triangular matrix-vector system (one right-hand side). More... | |
void | magma_cgemv_q (magma_trans_t transA, magma_int_t m, magma_int_t n, magmaFloatComplex alpha, magmaFloatComplex_const_ptr dA, magma_int_t ldda, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex beta, magmaFloatComplex_ptr dy, magma_int_t incy, magma_queue_t queue) |
Perform matrix-vector product. More... | |
void | magma_cgerc_q (magma_int_t m, magma_int_t n, magmaFloatComplex alpha, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex_const_ptr dy, magma_int_t incy, magmaFloatComplex_ptr dA, magma_int_t ldda, magma_queue_t queue) |
Perform rank-1 update, \( A = \alpha x y^H + A \). More... | |
void | magma_cgeru_q (magma_int_t m, magma_int_t n, magmaFloatComplex alpha, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex_const_ptr dy, magma_int_t incy, magmaFloatComplex_ptr dA, magma_int_t ldda, magma_queue_t queue) |
Perform rank-1 update (unconjugated), \( A = \alpha x y^H + A \). More... | |
void | magma_chemv_q (magma_uplo_t uplo, magma_int_t n, magmaFloatComplex alpha, magmaFloatComplex_const_ptr dA, magma_int_t ldda, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex beta, magmaFloatComplex_ptr dy, magma_int_t incy, magma_queue_t queue) |
Perform Hermitian matrix-vector product, \( y = \alpha A x + \beta y \). More... | |
void | magma_cher_q (magma_uplo_t uplo, magma_int_t n, float alpha, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex_ptr dA, magma_int_t ldda, magma_queue_t queue) |
Perform Hermitian rank-1 update, \( A = \alpha x x^H + A \). More... | |
void | magma_cher2_q (magma_uplo_t uplo, magma_int_t n, magmaFloatComplex alpha, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex_const_ptr dy, magma_int_t incy, magmaFloatComplex_ptr dA, magma_int_t ldda, magma_queue_t queue) |
Perform Hermitian rank-2 update, \( A = \alpha x y^H + conj(\alpha) y x^H + A \). More... | |
void | magma_ctrmv_q (magma_uplo_t uplo, magma_trans_t trans, magma_diag_t diag, magma_int_t n, magmaFloatComplex_const_ptr dA, magma_int_t ldda, magmaFloatComplex_ptr dx, magma_int_t incx, magma_queue_t queue) |
Perform triangular matrix-vector product. More... | |
void | magma_ctrsv_q (magma_uplo_t uplo, magma_trans_t trans, magma_diag_t diag, magma_int_t n, magmaFloatComplex_const_ptr dA, magma_int_t ldda, magmaFloatComplex_ptr dx, magma_int_t incx, magma_queue_t queue) |
Solve triangular matrix-vector system (one right-hand side). More... | |
void | magmablas_cgemv (magma_trans_t trans, magma_int_t m, magma_int_t n, magmaFloatComplex alpha, magmaFloatComplex_const_ptr dA, magma_int_t ldda, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex beta, magmaFloatComplex_ptr dy, magma_int_t incy) |
void | magmablas_cgemv_conj (magma_int_t m, magma_int_t n, magmaFloatComplex alpha, magmaFloatComplex_const_ptr dA, magma_int_t ldda, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex beta, magmaFloatComplex_ptr dy, magma_int_t incy) |
magma_int_t | magmablas_chemv (magma_uplo_t uplo, magma_int_t n, magmaFloatComplex alpha, magmaFloatComplex_const_ptr dA, magma_int_t ldda, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex beta, magmaFloatComplex_ptr dy, magma_int_t incy) |
magma_int_t | magmablas_csymv (magma_uplo_t uplo, magma_int_t n, magmaFloatComplex alpha, magmaFloatComplex_const_ptr dA, magma_int_t ldda, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex beta, magmaFloatComplex_ptr dy, magma_int_t incy) |
void | magmablas_cswapblk (magma_order_t order, magma_int_t n, magmaFloatComplex_ptr dA, magma_int_t ldda, magmaFloatComplex_ptr dB, magma_int_t lddb, magma_int_t i1, magma_int_t i2, const magma_int_t *ipiv, magma_int_t inci, magma_int_t offset) |
void magma_cgemv | ( | magma_trans_t | transA, |
magma_int_t | m, | ||
magma_int_t | n, | ||
magmaFloatComplex | alpha, | ||
magmaFloatComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaFloatComplex_const_ptr | dx, | ||
magma_int_t | incx, | ||
magmaFloatComplex | beta, | ||
magmaFloatComplex_ptr | dy, | ||
magma_int_t | incy | ||
) |
Perform matrix-vector product.
\( y = \alpha A x + \beta y \) (transA == MagmaNoTrans), or
\( y = \alpha A^T x + \beta y \) (transA == MagmaTrans), or
\( y = \alpha A^H x + \beta y \) (transA == MagmaConjTrans).
[in] | transA | Operation to perform on A. |
[in] | m | Number of rows of A. m >= 0. |
[in] | n | Number of columns of A. n >= 0. |
[in] | alpha | Scalar \( \alpha \) |
[in] | dA | COMPLEX array of dimension (ldda,n), ldda >= max(1,m). The m-by-n matrix A, on GPU device. |
[in] | ldda | Leading dimension of dA. |
[in] | dx | COMPLEX array on GPU device. If transA == MagmaNoTrans, the n element vector x of dimension (1 + (n-1)*incx); otherwise, the m element vector x of dimension (1 + (m-1)*incx). |
[in] | incx | Stride between consecutive elements of dx. incx != 0. |
[in] | beta | Scalar \( \beta \) |
[in,out] | dy | COMPLEX array on GPU device. If transA == MagmaNoTrans, the m element vector y of dimension (1 + (m-1)*incy); otherwise, the n element vector y of dimension (1 + (n-1)*incy). |
[in] | incy | Stride between consecutive elements of dy. incy != 0. |
void magma_cgemv_q | ( | magma_trans_t | transA, |
magma_int_t | m, | ||
magma_int_t | n, | ||
magmaFloatComplex | alpha, | ||
magmaFloatComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaFloatComplex_const_ptr | dx, | ||
magma_int_t | incx, | ||
magmaFloatComplex | beta, | ||
magmaFloatComplex_ptr | dy, | ||
magma_int_t | incy, | ||
magma_queue_t | queue | ||
) |
Perform matrix-vector product.
\( y = \alpha A x + \beta y \) (transA == MagmaNoTrans), or
\( y = \alpha A^T x + \beta y \) (transA == MagmaTrans), or
\( y = \alpha A^H x + \beta y \) (transA == MagmaConjTrans).
[in] | transA | Operation to perform on A. |
[in] | m | Number of rows of A. m >= 0. |
[in] | n | Number of columns of A. n >= 0. |
[in] | alpha | Scalar \( \alpha \) |
[in] | dA | COMPLEX array of dimension (ldda,n), ldda >= max(1,m). The m-by-n matrix A, on GPU device. |
[in] | ldda | Leading dimension of dA. |
[in] | dx | COMPLEX array on GPU device. If transA == MagmaNoTrans, the n element vector x of dimension (1 + (n-1)*incx); otherwise, the m element vector x of dimension (1 + (m-1)*incx). |
[in] | incx | Stride between consecutive elements of dx. incx != 0. |
[in] | beta | Scalar \( \beta \) |
[in,out] | dy | COMPLEX array on GPU device. If transA == MagmaNoTrans, the m element vector y of dimension (1 + (m-1)*incy); otherwise, the n element vector y of dimension (1 + (n-1)*incy). |
[in] | incy | Stride between consecutive elements of dy. incy != 0. |
[in] | queue | magma_queue_t Queue to execute in. |
void magma_cgerc | ( | magma_int_t | m, |
magma_int_t | n, | ||
magmaFloatComplex | alpha, | ||
magmaFloatComplex_const_ptr | dx, | ||
magma_int_t | incx, | ||
magmaFloatComplex_const_ptr | dy, | ||
magma_int_t | incy, | ||
magmaFloatComplex_ptr | dA, | ||
magma_int_t | ldda | ||
) |
Perform rank-1 update, \( A = \alpha x y^H + A \).
[in] | m | Number of rows of A. m >= 0. |
[in] | n | Number of columns of A. n >= 0. |
[in] | alpha | Scalar \( \alpha \) |
[in] | dx | COMPLEX array on GPU device. The m element vector x of dimension (1 + (m-1)*incx). |
[in] | incx | Stride between consecutive elements of dx. incx != 0. |
[in] | dy | COMPLEX array on GPU device. The n element vector y of dimension (1 + (n-1)*incy). |
[in] | incy | Stride between consecutive elements of dy. incy != 0. |
[in,out] | dA | COMPLEX array on GPU device. The m-by-n matrix A of dimension (ldda,n), ldda >= max(1,m). |
[in] | ldda | Leading dimension of dA. |
void magma_cgerc_q | ( | magma_int_t | m, |
magma_int_t | n, | ||
magmaFloatComplex | alpha, | ||
magmaFloatComplex_const_ptr | dx, | ||
magma_int_t | incx, | ||
magmaFloatComplex_const_ptr | dy, | ||
magma_int_t | incy, | ||
magmaFloatComplex_ptr | dA, | ||
magma_int_t | ldda, | ||
magma_queue_t | queue | ||
) |
Perform rank-1 update, \( A = \alpha x y^H + A \).
[in] | m | Number of rows of A. m >= 0. |
[in] | n | Number of columns of A. n >= 0. |
[in] | alpha | Scalar \( \alpha \) |
[in] | dx | COMPLEX array on GPU device. The m element vector x of dimension (1 + (m-1)*incx). |
[in] | incx | Stride between consecutive elements of dx. incx != 0. |
[in] | dy | COMPLEX array on GPU device. The n element vector y of dimension (1 + (n-1)*incy). |
[in] | incy | Stride between consecutive elements of dy. incy != 0. |
[in,out] | dA | COMPLEX array on GPU device. The m-by-n matrix A of dimension (ldda,n), ldda >= max(1,m). |
[in] | ldda | Leading dimension of dA. |
[in] | queue | magma_queue_t Queue to execute in. |
void magma_cgeru | ( | magma_int_t | m, |
magma_int_t | n, | ||
magmaFloatComplex | alpha, | ||
magmaFloatComplex_const_ptr | dx, | ||
magma_int_t | incx, | ||
magmaFloatComplex_const_ptr | dy, | ||
magma_int_t | incy, | ||
magmaFloatComplex_ptr | dA, | ||
magma_int_t | ldda | ||
) |
Perform rank-1 update (unconjugated), \( A = \alpha x y^H + A \).
[in] | m | Number of rows of A. m >= 0. |
[in] | n | Number of columns of A. n >= 0. |
[in] | alpha | Scalar \( \alpha \) |
[in] | dx | COMPLEX array on GPU device. The m element vector x of dimension (1 + (m-1)*incx). |
[in] | incx | Stride between consecutive elements of dx. incx != 0. |
[in] | dy | COMPLEX array on GPU device. The n element vector y of dimension (1 + (n-1)*incy). |
[in] | incy | Stride between consecutive elements of dy. incy != 0. |
[in,out] | dA | COMPLEX array of dimension (ldda,n), ldda >= max(1,m). The m-by-n matrix A, on GPU device. |
[in] | ldda | Leading dimension of dA. |
void magma_cgeru_q | ( | magma_int_t | m, |
magma_int_t | n, | ||
magmaFloatComplex | alpha, | ||
magmaFloatComplex_const_ptr | dx, | ||
magma_int_t | incx, | ||
magmaFloatComplex_const_ptr | dy, | ||
magma_int_t | incy, | ||
magmaFloatComplex_ptr | dA, | ||
magma_int_t | ldda, | ||
magma_queue_t | queue | ||
) |
Perform rank-1 update (unconjugated), \( A = \alpha x y^H + A \).
[in] | m | Number of rows of A. m >= 0. |
[in] | n | Number of columns of A. n >= 0. |
[in] | alpha | Scalar \( \alpha \) |
[in] | dx | COMPLEX array on GPU device. The m element vector x of dimension (1 + (m-1)*incx). |
[in] | incx | Stride between consecutive elements of dx. incx != 0. |
[in] | dy | COMPLEX array on GPU device. The n element vector y of dimension (1 + (n-1)*incy). |
[in] | incy | Stride between consecutive elements of dy. incy != 0. |
[in,out] | dA | COMPLEX array of dimension (ldda,n), ldda >= max(1,m). The m-by-n matrix A, on GPU device. |
[in] | ldda | Leading dimension of dA. |
[in] | queue | magma_queue_t Queue to execute in. |
void magma_chemv | ( | magma_uplo_t | uplo, |
magma_int_t | n, | ||
magmaFloatComplex | alpha, | ||
magmaFloatComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaFloatComplex_const_ptr | dx, | ||
magma_int_t | incx, | ||
magmaFloatComplex | beta, | ||
magmaFloatComplex_ptr | dy, | ||
magma_int_t | incy | ||
) |
Perform Hermitian matrix-vector product, \( y = \alpha A x + \beta y \).
[in] | uplo | Whether the upper or lower triangle of A is referenced. |
[in] | n | Number of rows and columns of A. n >= 0. |
[in] | alpha | Scalar \( \alpha \) |
[in] | dA | COMPLEX array of dimension (ldda,n), ldda >= max(1,n). The n-by-n matrix A, on GPU device. |
[in] | ldda | Leading dimension of dA. |
[in] | dx | COMPLEX array on GPU device. The m element vector x of dimension (1 + (m-1)*incx). |
[in] | incx | Stride between consecutive elements of dx. incx != 0. |
[in] | beta | Scalar \( \beta \) |
[in,out] | dy | COMPLEX array on GPU device. The n element vector y of dimension (1 + (n-1)*incy). |
[in] | incy | Stride between consecutive elements of dy. incy != 0. |
void magma_chemv_q | ( | magma_uplo_t | uplo, |
magma_int_t | n, | ||
magmaFloatComplex | alpha, | ||
magmaFloatComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaFloatComplex_const_ptr | dx, | ||
magma_int_t | incx, | ||
magmaFloatComplex | beta, | ||
magmaFloatComplex_ptr | dy, | ||
magma_int_t | incy, | ||
magma_queue_t | queue | ||
) |
Perform Hermitian matrix-vector product, \( y = \alpha A x + \beta y \).
[in] | uplo | Whether the upper or lower triangle of A is referenced. |
[in] | n | Number of rows and columns of A. n >= 0. |
[in] | alpha | Scalar \( \alpha \) |
[in] | dA | COMPLEX array of dimension (ldda,n), ldda >= max(1,n). The n-by-n matrix A, on GPU device. |
[in] | ldda | Leading dimension of dA. |
[in] | dx | COMPLEX array on GPU device. The m element vector x of dimension (1 + (m-1)*incx). |
[in] | incx | Stride between consecutive elements of dx. incx != 0. |
[in] | beta | Scalar \( \beta \) |
[in,out] | dy | COMPLEX array on GPU device. The n element vector y of dimension (1 + (n-1)*incy). |
[in] | incy | Stride between consecutive elements of dy. incy != 0. |
[in] | queue | magma_queue_t Queue to execute in. |
void magma_cher | ( | magma_uplo_t | uplo, |
magma_int_t | n, | ||
float | alpha, | ||
magmaFloatComplex_const_ptr | dx, | ||
magma_int_t | incx, | ||
magmaFloatComplex_ptr | dA, | ||
magma_int_t | ldda | ||
) |
Perform Hermitian rank-1 update, \( A = \alpha x x^H + A \).
[in] | uplo | Whether the upper or lower triangle of A is referenced. |
[in] | n | Number of rows and columns of A. n >= 0. |
[in] | alpha | Scalar \( \alpha \) |
[in] | dx | COMPLEX array on GPU device. The n element vector x of dimension (1 + (n-1)*incx). |
[in] | incx | Stride between consecutive elements of dx. incx != 0. |
[in,out] | dA | COMPLEX array of dimension (ldda,n), ldda >= max(1,n). The n-by-n matrix A, on GPU device. |
[in] | ldda | Leading dimension of dA. |
void magma_cher2 | ( | magma_uplo_t | uplo, |
magma_int_t | n, | ||
magmaFloatComplex | alpha, | ||
magmaFloatComplex_const_ptr | dx, | ||
magma_int_t | incx, | ||
magmaFloatComplex_const_ptr | dy, | ||
magma_int_t | incy, | ||
magmaFloatComplex_ptr | dA, | ||
magma_int_t | ldda | ||
) |
Perform Hermitian rank-2 update, \( A = \alpha x y^H + conj(\alpha) y x^H + A \).
[in] | uplo | Whether the upper or lower triangle of A is referenced. |
[in] | n | Number of rows and columns of A. n >= 0. |
[in] | alpha | Scalar \( \alpha \) |
[in] | dx | COMPLEX array on GPU device. The n element vector x of dimension (1 + (n-1)*incx). |
[in] | incx | Stride between consecutive elements of dx. incx != 0. |
[in] | dy | COMPLEX array on GPU device. The n element vector y of dimension (1 + (n-1)*incy). |
[in] | incy | Stride between consecutive elements of dy. incy != 0. |
[in,out] | dA | COMPLEX array of dimension (ldda,n), ldda >= max(1,n). The n-by-n matrix A, on GPU device. |
[in] | ldda | Leading dimension of dA. |
void magma_cher2_q | ( | magma_uplo_t | uplo, |
magma_int_t | n, | ||
magmaFloatComplex | alpha, | ||
magmaFloatComplex_const_ptr | dx, | ||
magma_int_t | incx, | ||
magmaFloatComplex_const_ptr | dy, | ||
magma_int_t | incy, | ||
magmaFloatComplex_ptr | dA, | ||
magma_int_t | ldda, | ||
magma_queue_t | queue | ||
) |
Perform Hermitian rank-2 update, \( A = \alpha x y^H + conj(\alpha) y x^H + A \).
[in] | uplo | Whether the upper or lower triangle of A is referenced. |
[in] | n | Number of rows and columns of A. n >= 0. |
[in] | alpha | Scalar \( \alpha \) |
[in] | dx | COMPLEX array on GPU device. The n element vector x of dimension (1 + (n-1)*incx). |
[in] | incx | Stride between consecutive elements of dx. incx != 0. |
[in] | dy | COMPLEX array on GPU device. The n element vector y of dimension (1 + (n-1)*incy). |
[in] | incy | Stride between consecutive elements of dy. incy != 0. |
[in,out] | dA | COMPLEX array of dimension (ldda,n), ldda >= max(1,n). The n-by-n matrix A, on GPU device. |
[in] | ldda | Leading dimension of dA. |
[in] | queue | magma_queue_t Queue to execute in. |
void magma_cher_q | ( | magma_uplo_t | uplo, |
magma_int_t | n, | ||
float | alpha, | ||
magmaFloatComplex_const_ptr | dx, | ||
magma_int_t | incx, | ||
magmaFloatComplex_ptr | dA, | ||
magma_int_t | ldda, | ||
magma_queue_t | queue | ||
) |
Perform Hermitian rank-1 update, \( A = \alpha x x^H + A \).
[in] | uplo | Whether the upper or lower triangle of A is referenced. |
[in] | n | Number of rows and columns of A. n >= 0. |
[in] | alpha | Scalar \( \alpha \) |
[in] | dx | COMPLEX array on GPU device. The n element vector x of dimension (1 + (n-1)*incx). |
[in] | incx | Stride between consecutive elements of dx. incx != 0. |
[in,out] | dA | COMPLEX array of dimension (ldda,n), ldda >= max(1,n). The n-by-n matrix A, on GPU device. |
[in] | ldda | Leading dimension of dA. |
[in] | queue | magma_queue_t Queue to execute in. |
void magma_ctrmv | ( | magma_uplo_t | uplo, |
magma_trans_t | trans, | ||
magma_diag_t | diag, | ||
magma_int_t | n, | ||
magmaFloatComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaFloatComplex_ptr | dx, | ||
magma_int_t | incx | ||
) |
Perform triangular matrix-vector product.
\( x = A x \) (trans == MagmaNoTrans), or
\( x = A^T x \) (trans == MagmaTrans), or
\( x = A^H x \) (trans == MagmaConjTrans).
[in] | uplo | Whether the upper or lower triangle of A is referenced. |
[in] | trans | Operation to perform on A. |
[in] | diag | Whether the diagonal of A is assumed to be unit or non-unit. |
[in] | n | Number of rows and columns of A. n >= 0. |
[in] | dA | COMPLEX array of dimension (ldda,n), ldda >= max(1,n). The n-by-n matrix A, on GPU device. |
[in] | ldda | Leading dimension of dA. |
[in] | dx | COMPLEX array on GPU device. The n element vector x of dimension (1 + (n-1)*incx). |
[in] | incx | Stride between consecutive elements of dx. incx != 0. |
void magma_ctrmv_q | ( | magma_uplo_t | uplo, |
magma_trans_t | trans, | ||
magma_diag_t | diag, | ||
magma_int_t | n, | ||
magmaFloatComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaFloatComplex_ptr | dx, | ||
magma_int_t | incx, | ||
magma_queue_t | queue | ||
) |
Perform triangular matrix-vector product.
\( x = A x \) (trans == MagmaNoTrans), or
\( x = A^T x \) (trans == MagmaTrans), or
\( x = A^H x \) (trans == MagmaConjTrans).
[in] | uplo | Whether the upper or lower triangle of A is referenced. |
[in] | trans | Operation to perform on A. |
[in] | diag | Whether the diagonal of A is assumed to be unit or non-unit. |
[in] | n | Number of rows and columns of A. n >= 0. |
[in] | dA | COMPLEX array of dimension (ldda,n), ldda >= max(1,n). The n-by-n matrix A, on GPU device. |
[in] | ldda | Leading dimension of dA. |
[in] | dx | COMPLEX array on GPU device. The n element vector x of dimension (1 + (n-1)*incx). |
[in] | incx | Stride between consecutive elements of dx. incx != 0. |
[in] | queue | magma_queue_t Queue to execute in. |
void magma_ctrsv | ( | magma_uplo_t | uplo, |
magma_trans_t | trans, | ||
magma_diag_t | diag, | ||
magma_int_t | n, | ||
magmaFloatComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaFloatComplex_ptr | dx, | ||
magma_int_t | incx | ||
) |
Solve triangular matrix-vector system (one right-hand side).
\( A x = b \) (trans == MagmaNoTrans), or
\( A^T x = b \) (trans == MagmaTrans), or
\( A^H x = b \) (trans == MagmaConjTrans).
[in] | uplo | Whether the upper or lower triangle of A is referenced. |
[in] | trans | Operation to perform on A. |
[in] | diag | Whether the diagonal of A is assumed to be unit or non-unit. |
[in] | n | Number of rows and columns of A. n >= 0. |
[in] | dA | COMPLEX array of dimension (ldda,n), ldda >= max(1,n). The n-by-n matrix A, on GPU device. |
[in] | ldda | Leading dimension of dA. |
[in,out] | dx | COMPLEX array on GPU device. On entry, the n element RHS vector b of dimension (1 + (n-1)*incx). On exit, overwritten with the solution vector x. |
[in] | incx | Stride between consecutive elements of dx. incx != 0. |
void magma_ctrsv_q | ( | magma_uplo_t | uplo, |
magma_trans_t | trans, | ||
magma_diag_t | diag, | ||
magma_int_t | n, | ||
magmaFloatComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaFloatComplex_ptr | dx, | ||
magma_int_t | incx, | ||
magma_queue_t | queue | ||
) |
Solve triangular matrix-vector system (one right-hand side).
\( A x = b \) (trans == MagmaNoTrans), or
\( A^T x = b \) (trans == MagmaTrans), or
\( A^H x = b \) (trans == MagmaConjTrans).
[in] | uplo | Whether the upper or lower triangle of A is referenced. |
[in] | trans | Operation to perform on A. |
[in] | diag | Whether the diagonal of A is assumed to be unit or non-unit. |
[in] | n | Number of rows and columns of A. n >= 0. |
[in] | dA | COMPLEX array of dimension (ldda,n), ldda >= max(1,n). The n-by-n matrix A, on GPU device. |
[in] | ldda | Leading dimension of dA. |
[in,out] | dx | COMPLEX array on GPU device. On entry, the n element RHS vector b of dimension (1 + (n-1)*incx). On exit, overwritten with the solution vector x. |
[in] | incx | Stride between consecutive elements of dx. incx != 0. |
[in] | queue | magma_queue_t Queue to execute in. |
void magmablas_cgemv | ( | magma_trans_t | trans, |
magma_int_t | m, | ||
magma_int_t | n, | ||
magmaFloatComplex | alpha, | ||
magmaFloatComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaFloatComplex_const_ptr | dx, | ||
magma_int_t | incx, | ||
magmaFloatComplex | beta, | ||
magmaFloatComplex_ptr | dy, | ||
magma_int_t | incy | ||
) |
void magmablas_cgemv_conj | ( | magma_int_t | m, |
magma_int_t | n, | ||
magmaFloatComplex | alpha, | ||
magmaFloatComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaFloatComplex_const_ptr | dx, | ||
magma_int_t | incx, | ||
magmaFloatComplex | beta, | ||
magmaFloatComplex_ptr | dy, | ||
magma_int_t | incy | ||
) |
magma_int_t magmablas_chemv | ( | magma_uplo_t | uplo, |
magma_int_t | n, | ||
magmaFloatComplex | alpha, | ||
magmaFloatComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaFloatComplex_const_ptr | dx, | ||
magma_int_t | incx, | ||
magmaFloatComplex | beta, | ||
magmaFloatComplex_ptr | dy, | ||
magma_int_t | incy | ||
) |
void magmablas_cswapblk | ( | magma_order_t | order, |
magma_int_t | n, | ||
magmaFloatComplex_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaFloatComplex_ptr | dB, | ||
magma_int_t | lddb, | ||
magma_int_t | i1, | ||
magma_int_t | i2, | ||
const magma_int_t * | ipiv, | ||
magma_int_t | inci, | ||
magma_int_t | offset | ||
) |
magma_int_t magmablas_csymv | ( | magma_uplo_t | uplo, |
magma_int_t | n, | ||
magmaFloatComplex | alpha, | ||
magmaFloatComplex_const_ptr | dA, | ||
magma_int_t | ldda, | ||
magmaFloatComplex_const_ptr | dx, | ||
magma_int_t | incx, | ||
magmaFloatComplex | beta, | ||
magmaFloatComplex_ptr | dy, | ||
magma_int_t | incy | ||
) |