![]() |
MAGMA
1.5.0
Matrix Algebra for GPU and Multicore Architectures
|
Functions | |
magma_int_t | magmablas_chemv_tesla (magma_uplo_t uplo, magma_int_t n, magmaFloatComplex alpha, const magmaFloatComplex *A, magma_int_t lda, const magmaFloatComplex *x, magma_int_t incx, magmaFloatComplex beta, magmaFloatComplex *y, magma_int_t incy) |
magmablas_chemv performs the matrix-vector operation: More... | |
void | magmablas_zgemvn_fermi (magma_int_t m, magma_int_t n, magmaDoubleComplex alpha, const magmaDoubleComplex *A, magma_int_t lda, const magmaDoubleComplex *x, magmaDoubleComplex beta, magmaDoubleComplex *y) |
This routine computes Y = alpha A x + beta y, on the GPU. More... | |
void | magmablas_zgemvt_fermi (magma_int_t m, magma_int_t n, magmaDoubleComplex alpha, const magmaDoubleComplex *A, magma_int_t lda, const magmaDoubleComplex *x, magmaDoubleComplex beta, magmaDoubleComplex *y) |
PurposeMore... | |
void | magmablas_zgemvc_fermi (magma_int_t m, magma_int_t n, magmaDoubleComplex alpha, const magmaDoubleComplex *A, magma_int_t lda, const magmaDoubleComplex *x, magmaDoubleComplex beta, magmaDoubleComplex *y) |
PurposeMore... | |
magma_int_t | magmablas_zhemv (magma_uplo_t uplo, magma_int_t n, magmaDoubleComplex alpha, const magmaDoubleComplex *A, magma_int_t lda, const magmaDoubleComplex *x, magma_int_t incx, magmaDoubleComplex beta, magmaDoubleComplex *y, magma_int_t incy) |
magmablas_zhemv performs the matrix-vector operation: More... | |
magma_int_t | magmablas_zhemv_mgpu_offset (magma_uplo_t uplo, magma_int_t n, magmaDoubleComplex alpha, magmaDoubleComplex **A, magma_int_t lda, magmaDoubleComplex **x, magma_int_t incx, magmaDoubleComplex beta, magmaDoubleComplex **y, magma_int_t incy, magmaDoubleComplex **work, magma_int_t lwork, magma_int_t num_gpus, magma_int_t nb, magma_int_t offset, magma_queue_t stream[][10]) |
magmablas_zhemv performs the matrix-vector operation: More... | |
magma_int_t | magmablas_zsymv (magma_uplo_t uplo, magma_int_t n, magmaDoubleComplex alpha, const magmaDoubleComplex *A, magma_int_t lda, const magmaDoubleComplex *x, magma_int_t incx, magmaDoubleComplex beta, magmaDoubleComplex *y, magma_int_t incy) |
magmablas_zsymv performs the matrix-vector operation: More... | |
magma_int_t magmablas_chemv_tesla | ( | magma_uplo_t | uplo, |
magma_int_t | n, | ||
magmaFloatComplex | alpha, | ||
const magmaFloatComplex * | A, | ||
magma_int_t | lda, | ||
const magmaFloatComplex * | x, | ||
magma_int_t | incx, | ||
magmaFloatComplex | beta, | ||
magmaFloatComplex * | y, | ||
magma_int_t | incy | ||
) |
magmablas_chemv performs the matrix-vector operation:
y := alpha*A*x + beta*y,
where alpha and beta are scalars, x and y are n element vectors and A is an n by n hermitian matrix.
[in] | uplo | magma_uplo_t. On entry, UPLO specifies whether the upper or lower triangular part of the array A is to be referenced as follows:
|
[in] | n | INTEGER. On entry, N specifies the order of the matrix A. N must be at least zero. |
[in] | alpha | COMPLEX*16. On entry, ALPHA specifies the scalar alpha. |
[in] | A | COMPLEX*16 array of DIMENSION ( LDA, n ). Before entry with UPLO = MagmaUpper, the leading n by n upper triangular part of the array A must contain the upper triangular part of the hermitian matrix and the strictly lower triangular part of A is not referenced. Before entry with UPLO = MagmaLower, the leading n by n lower triangular part of the array A must contain the lower triangular part of the hermitian matrix and the strictly upper triangular part of A is not referenced. Note that the imaginary parts of the diagonal elements need not be set and are assumed to be zero. |
[in] | lda | INTEGER. On entry, LDA specifies the first dimension of A as declared in the calling (sub) program. LDA must be at least max( 1, n ). It is recommended that lda is multiple of 16. Otherwise performance would be deteriorated as the memory accesses would not be fully coalescent. |
[in] | x | COMPLEX*16 array of dimension at least ( 1 + ( n - 1 )*abs( INCX ) ). Before entry, the incremented array X must contain the n element vector x. |
[in] | incx | INTEGER. On entry, INCX specifies the increment for the elements of X. INCX must not be zero. |
[in] | beta | COMPLEX*16. On entry, BETA specifies the scalar beta. When BETA is supplied as zero then Y need not be set on input. |
[in,out] | y | COMPLEX*16 array of dimension at least ( 1 + ( n - 1 )*abs( INCY ) ). Before entry, the incremented array Y must contain the n element vector y. On exit, Y is overwritten by the updated vector y. |
[in] | incy | INTEGER. On entry, INCY specifies the increment for the elements of Y. INCY must not be zero. |
void magmablas_zgemvc_fermi | ( | magma_int_t | m, |
magma_int_t | n, | ||
magmaDoubleComplex | alpha, | ||
const magmaDoubleComplex * | A, | ||
magma_int_t | lda, | ||
const magmaDoubleComplex * | x, | ||
magmaDoubleComplex | beta, | ||
magmaDoubleComplex * | y | ||
) |
This routine computes y = alpha * A^H * x + beta*y, on the GPU.
[in] | m | INTEGER. On entry, M specifies the number of rows of the matrix A. |
[in] | n | INTEGER. On entry, N specifies the number of columns of the matrix A |
[in] | alpha | COMPLEX*16. On entry, ALPHA specifies the scalar alpha. |
[in] | A | COMPLEX*16 array of dimension ( LDA, n ) on the GPU. |
[in] | lda | INTEGER. LDA specifies the leading dimension of A. |
[in] | x | COMPLEX*16 array of dimension m. |
[in] | beta | COMPLEX*16. On entry, BETA specifies the scalar beta. |
[out] | y | COMPLEX*16 array of dimension n. On exit Y = alpha A^H X + beta y. |
void magmablas_zgemvn_fermi | ( | magma_int_t | m, |
magma_int_t | n, | ||
magmaDoubleComplex | alpha, | ||
const magmaDoubleComplex * | A, | ||
magma_int_t | lda, | ||
const magmaDoubleComplex * | x, | ||
magmaDoubleComplex | beta, | ||
magmaDoubleComplex * | y | ||
) |
This routine computes Y = alpha A x + beta y, on the GPU.
[in] | m | INTEGER. On entry, M specifies the number of rows of the matrix A. |
[in] | n | INTEGER. On entry, N specifies the number of columns of the matrix A |
[in] | alpha | COMPLEX*16. On entry, ALPHA specifies the scalar alpha. |
[in] | A | COMPLEX*16 array of dimension ( LDA, n ) on the GPU. |
[in] | lda | INTEGER. LDA specifies the leading dimension of A. |
[in] | x | COMPLEX*16 array of dimension n. |
[in] | beta | DOUBLE PRECISION. On entry, BETA specifies the scalar beta. |
[out] | y | COMPLEX*16 array of dimension n. On exit Y = alpha A X + beta Y. |
void magmablas_zgemvt_fermi | ( | magma_int_t | m, |
magma_int_t | n, | ||
magmaDoubleComplex | alpha, | ||
const magmaDoubleComplex * | A, | ||
magma_int_t | lda, | ||
const magmaDoubleComplex * | x, | ||
magmaDoubleComplex | beta, | ||
magmaDoubleComplex * | y | ||
) |
This routine computes y = alpha * A^T * x + beta*y, on the GPU.
[in] | m | INTEGER. On entry, M specifies the number of rows of the matrix A. |
[in] | n | INTEGER. On entry, N specifies the number of columns of the matrix A |
[in] | alpha | COMPLEX*16. On entry, ALPHA specifies the scalar alpha. |
[in] | A | COMPLEX*16 array of dimension ( LDA, n ) on the GPU. |
[in] | lda | INTEGER. LDA specifies the leading dimension of A. |
[in] | x | COMPLEX*16 array of dimension m. |
[in] | beta | COMPLEX*16. On entry, BETA specifies the scalar beta. |
[out] | y | COMPLEX*16 array of dimension n. On exit Y = alpha A^T X + beta Y. |
magma_int_t magmablas_zhemv | ( | magma_uplo_t | uplo, |
magma_int_t | n, | ||
magmaDoubleComplex | alpha, | ||
const magmaDoubleComplex * | A, | ||
magma_int_t | lda, | ||
const magmaDoubleComplex * | x, | ||
magma_int_t | incx, | ||
magmaDoubleComplex | beta, | ||
magmaDoubleComplex * | y, | ||
magma_int_t | incy | ||
) |
magmablas_zhemv performs the matrix-vector operation:
y := alpha*A*x + beta*y,
where alpha and beta are scalars, x and y are n element vectors and A is an n by n hermitian matrix.
[in] | uplo | magma_uplo_t. On entry, UPLO specifies whether the upper or lower triangular part of the array A is to be referenced as follows:
|
[in] | n | INTEGER. On entry, N specifies the order of the matrix A. N must be at least zero. |
[in] | alpha | COMPLEX*16. On entry, ALPHA specifies the scalar alpha. |
[in] | A | COMPLEX*16 array of DIMENSION ( LDA, n ). Before entry with UPLO = MagmaUpper, the leading n by n upper triangular part of the array A must contain the upper triangular part of the hermitian matrix and the strictly lower triangular part of A is not referenced. Before entry with UPLO = MagmaLower, the leading n by n lower triangular part of the array A must contain the lower triangular part of the hermitian matrix and the strictly upper triangular part of A is not referenced. Note that the imaginary parts of the diagonal elements need not be set and are assumed to be zero. |
[in] | lda | INTEGER. On entry, LDA specifies the first dimension of A as declared in the calling (sub) program. LDA must be at least max( 1, n ). It is recommended that lda is multiple of 16. Otherwise performance would be deteriorated as the memory accesses would not be fully coalescent. |
[in] | x | COMPLEX*16 array of dimension at least ( 1 + ( n - 1 )*abs( INCX ) ). Before entry, the incremented array X must contain the n element vector x. |
[in] | incx | INTEGER. On entry, INCX specifies the increment for the elements of X. INCX must not be zero. |
[in] | beta | COMPLEX*16. On entry, BETA specifies the scalar beta. When BETA is supplied as zero then Y need not be set on input. |
[in,out] | y | COMPLEX*16 array of dimension at least ( 1 + ( n - 1 )*abs( INCY ) ). Before entry, the incremented array Y must contain the n element vector y. On exit, Y is overwritten by the updated vector y. |
[in] | incy | INTEGER. On entry, INCY specifies the increment for the elements of Y. INCY must not be zero. |
magma_int_t magmablas_zhemv_mgpu_offset | ( | magma_uplo_t | uplo, |
magma_int_t | n, | ||
magmaDoubleComplex | alpha, | ||
magmaDoubleComplex ** | A, | ||
magma_int_t | lda, | ||
magmaDoubleComplex ** | x, | ||
magma_int_t | incx, | ||
magmaDoubleComplex | beta, | ||
magmaDoubleComplex ** | y, | ||
magma_int_t | incy, | ||
magmaDoubleComplex ** | work, | ||
magma_int_t | lwork, | ||
magma_int_t | num_gpus, | ||
magma_int_t | nb, | ||
magma_int_t | offset, | ||
magma_queue_t | stream[][10] | ||
) |
magmablas_zhemv performs the matrix-vector operation:
y := alpha*A*x + beta*y,
where alpha and beta are scalars, x and y are n element vectors and A is an n by n hermitian matrix.
[in] | uplo | magma_uplo_t. On entry, UPLO specifies whether the upper or lower triangular part of the array A is to be referenced as follows:
|
[in] | n | INTEGER. On entry, N specifies the order of the matrix A. N must be at least zero. |
[in] | alpha | COMPLEX*16. On entry, ALPHA specifies the scalar alpha. |
[in] | A | COMPLEX*16 array of DIMENSION ( LDA, n ). Before entry with UPLO = MagmaUpper, the leading n by n upper triangular part of the array A must contain the upper triangular part of the hermitian matrix and the strictly lower triangular part of A is not referenced. Before entry with UPLO = MagmaLower, the leading n by n lower triangular part of the array A must contain the lower triangular part of the hermitian matrix and the strictly upper triangular part of A is not referenced. Note that the imaginary parts of the diagonal elements need not be set and are assumed to be zero. |
[in] | lda | INTEGER. On entry, LDA specifies the first dimension of A as declared in the calling (sub) program. LDA must be at least max( 1, n ). It is recommended that lda is multiple of 16. Otherwise performance would be deteriorated as the memory accesses would not be fully coalescent. |
[in] | x | COMPLEX*16 array of dimension at least ( 1 + ( n - 1 )*abs( INCX ) ). Before entry, the incremented array X must contain the n element vector x. |
[in] | incx | INTEGER. On entry, INCX specifies the increment for the elements of X. INCX must not be zero. |
[in] | beta | COMPLEX*16. On entry, BETA specifies the scalar beta. When BETA is supplied as zero then Y need not be set on input. |
[in,out] | y | COMPLEX*16 array of dimension at least ( 1 + ( n - 1 )*abs( INCY ) ). Before entry, the incremented array Y must contain the n element vector y. On exit, Y is overwritten by the updated vector y. |
[in] | incy | INTEGER. On entry, INCY specifies the increment for the elements of Y. INCY must not be zero. |
magma_int_t magmablas_zsymv | ( | magma_uplo_t | uplo, |
magma_int_t | n, | ||
magmaDoubleComplex | alpha, | ||
const magmaDoubleComplex * | A, | ||
magma_int_t | lda, | ||
const magmaDoubleComplex * | x, | ||
magma_int_t | incx, | ||
magmaDoubleComplex | beta, | ||
magmaDoubleComplex * | y, | ||
magma_int_t | incy | ||
) |
magmablas_zsymv performs the matrix-vector operation:
y := alpha*A*x + beta*y,
where alpha and beta are scalars, x and y are n element vectors and A is an n by n symmetric matrix.
[in] | uplo | magma_uplo_t. On entry, UPLO specifies whether the upper or lower triangular part of the array A is to be referenced as follows:
|
[in] | n | INTEGER. On entry, N specifies the order of the matrix A. N must be at least zero. |
[in] | alpha | COMPLEX*16. On entry, ALPHA specifies the scalar alpha. |
[in] | A | COMPLEX*16 array of DIMENSION ( LDA, n ). Before entry with UPLO = MagmaUpper, the leading n by n upper triangular part of the array A must contain the upper triangular part of the hermitian matrix and the strictly lower triangular part of A is not referenced. Before entry with UPLO = MagmaLower, the leading n by n lower triangular part of the array A must contain the lower triangular part of the hermitian matrix and the strictly upper triangular part of A is not referenced. Note that the imaginary parts of the diagonal elements need not be set and are assumed to be zero. |
[in] | lda | INTEGER. On entry, LDA specifies the first dimension of A as declared in the calling (sub) program. LDA must be at least max( 1, n ). It is recommended that lda is multiple of 16. Otherwise performance would be deteriorated as the memory accesses would not be fully coalescent. |
[in] | x | COMPLEX*16 array of dimension at least ( 1 + ( n - 1 )*abs( INCX ) ). Before entry, the incremented array X must contain the n element vector x. |
[in] | incx | INTEGER. On entry, INCX specifies the increment for the elements of X. INCX must not be zero. |
[in] | beta | COMPLEX*16. On entry, BETA specifies the scalar beta. When BETA is supplied as zero then Y need not be set on input. |
[in,out] | y | COMPLEX*16 array of dimension at least ( 1 + ( n - 1 )*abs( INCY ) ). Before entry, the incremented array Y must contain the n element vector y. On exit, Y is overwritten by the updated vector y. |
[in] | incy | INTEGER. On entry, INCY specifies the increment for the elements of Y. INCY must not be zero. |