rocblas_zhemm Interface Reference

rocblas_zhemm Interface Reference#

HIPFORT API Reference: hipfort_rocblas::rocblas_zhemm Interface Reference
hipfort_rocblas::rocblas_zhemm Interface Reference

! More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocblas_zhemm_ (handle, side, uplo, n, k, alpha, A, lda, B, ldb, beta, C, ldc)
 
integer(kind(rocblas_status_success)) function rocblas_zhemm_full_rank (handle, side, uplo, n, k, alpha, A, lda, B, ldb, beta, C, ldc)
 
integer(kind(rocblas_status_success)) function rocblas_zhemm_rank_0 (handle, side, uplo, n, k, alpha, A, lda, B, ldb, beta, C, ldc)
 
integer(kind(rocblas_status_success)) function rocblas_zhemm_rank_1 (handle, side, uplo, n, k, alpha, A, lda, B, ldb, beta, C, ldc)
 

Detailed Description

!

BLAS Level 3 API

\details

hemm performs one of the matrix-matrix operations:

C := alphaAB + betaC if side == rocblas_side_left,
C := alphaBA + betaC if side == rocblas_side_right,

where alpha and beta are scalars, B and C are m by n matrices, and
A is a Hermitian matrix stored as either upper or lower.

@param[in]
handle    [rocblas_handle]
          handle to the rocblas library context queue.

@param[in]
side  [rocblas_side]
        rocblas_side_left:      C := alphaAB + betaC
        rocblas_side_right:     C := alphaBA + betaC

@param[in]
uplo    [rocblas_fill]
        rocblas_fill_upper:  A is an upper triangular matrix
        rocblas_fill_lower:  A is a  lower triangular matrix

@param[in]
m       [rocblas_int]
        m specifies the number of rows of B and C. m >= 0.

@param[in]
n       [rocblas_int]
        n specifies the number of columns of B and C. n >= 0.

@param[in]
alpha
        alpha specifies the scalar alpha. When alpha is
        zero then A and B are not referenced.

@param[in]
A       pointer storing matrix A on the GPU.
        A is m by m if side == rocblas_side_left
        A is n by n if side == rocblas_side_right
        Only the upperlower triangular part is accessed.
        The imaginary component of the diagonal elements is not used.

@param[in]
lda     [rocblas_int]
        lda specifies the first dimension of A.
        if side = rocblas_side_left,  lda >= max( 1, m ),
        otherwise lda >= max( 1, n ).

@param[in]
B       pointer storing matrix B on the GPU.
        Matrix dimension is m by n

@param[in]
ldb     [rocblas_int]
        ldb specifies the first dimension of B. ldb >= max( 1, m )

@param[in]
beta
        beta specifies the scalar beta. When beta is
        zero then C need not be set before entry.

@param[in]
C       pointer storing matrix C on the GPU.
        Matrix dimension is m by n

@param[in]
ldc    [rocblas_int]
       ldc specifies the first dimension of C. ldc >= max( 1, m )

Member Function/Subroutine Documentation

◆ rocblas_zhemm_()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_zhemm::rocblas_zhemm_ ( type(c_ptr), value  handle,
integer(kind(rocblas_side_left)), value  side,
integer(kind(rocblas_fill_upper)), value  uplo,
integer(c_int), value  n,
integer(c_int), value  k,
complex(c_double_complex)  alpha,
type(c_ptr), value  A,
integer(c_int), value  lda,
type(c_ptr), value  B,
integer(c_int), value  ldb,
complex(c_double_complex)  beta,
type(c_ptr), value  C,
integer(c_int), value  ldc 
)

◆ rocblas_zhemm_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_zhemm::rocblas_zhemm_full_rank ( type(c_ptr)  handle,
integer(kind(rocblas_side_left))  side,
integer(kind(rocblas_fill_upper))  uplo,
integer(c_int)  n,
integer(c_int)  k,
complex(c_double_complex)  alpha,
complex(c_double_complex), dimension(:,:), target  A,
integer(c_int)  lda,
complex(c_double_complex), dimension(:,:), target  B,
integer(c_int)  ldb,
complex(c_double_complex)  beta,
complex(c_double_complex), dimension(:,:), target  C,
integer(c_int)  ldc 
)

◆ rocblas_zhemm_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_zhemm::rocblas_zhemm_rank_0 ( type(c_ptr)  handle,
integer(kind(rocblas_side_left))  side,
integer(kind(rocblas_fill_upper))  uplo,
integer(c_int)  n,
integer(c_int)  k,
complex(c_double_complex)  alpha,
complex(c_double_complex), target  A,
integer(c_int)  lda,
complex(c_double_complex), target  B,
integer(c_int)  ldb,
complex(c_double_complex)  beta,
complex(c_double_complex), target  C,
integer(c_int)  ldc 
)

◆ rocblas_zhemm_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_zhemm::rocblas_zhemm_rank_1 ( type(c_ptr)  handle,
integer(kind(rocblas_side_left))  side,
integer(kind(rocblas_fill_upper))  uplo,
integer(c_int)  n,
integer(c_int)  k,
complex(c_double_complex)  alpha,
complex(c_double_complex), dimension(:), target  A,
integer(c_int)  lda,
complex(c_double_complex), dimension(:), target  B,
integer(c_int)  ldb,
complex(c_double_complex)  beta,
complex(c_double_complex), dimension(:), target  C,
integer(c_int)  ldc 
)

The documentation for this interface was generated from the following file: