rocblas_zhemm_strided_batched Interface Reference#
hipfort_rocblas::rocblas_zhemm_strided_batched Interface Reference
BLAS Level 3 API. More...
Public Member Functions | |
integer(kind(rocblas_status_success)) function | rocblas_zhemm_strided_batched_ (handle, side, uplo, m, n, alpha, A, lda, stride_A, B, ldb, stride_B, beta, C, ldc, stride_C, batch_count) |
integer(kind(rocblas_status_success)) function | rocblas_zhemm_strided_batched_full_rank (handle, side, uplo, m, n, alpha, A, lda, stride_A, B, ldb, stride_B, beta, C, ldc, stride_C, batch_count) |
integer(kind(rocblas_status_success)) function | rocblas_zhemm_strided_batched_rank_0 (handle, side, uplo, m, n, alpha, A, lda, stride_A, B, ldb, stride_B, beta, C, ldc, stride_C, batch_count) |
integer(kind(rocblas_status_success)) function | rocblas_zhemm_strided_batched_rank_1 (handle, side, uplo, m, n, alpha, A, lda, stride_A, B, ldb, stride_B, beta, C, ldc, stride_C, batch_count) |
Detailed Description
BLAS Level 3 API.
hemm_strided_batched performs a batch of the matrix-matrix operations:
C_i := alpha*A_i*B_i + beta*C_i if side == rocblas_side_left, C_i := alpha*B_i*A_i + beta*C_i if side == rocblas_side_right,
where alpha and beta are scalars, B_i and C_i are m by n matrices, and A_i is a Hermitian matrix stored as either upper or lower.
- Parameters
-
[in] handle [rocblas_handle] handle to the rocblas library context queue. [in] side [rocblas_side] rocblas_side_left: C_i := alpha*A_i*B_i + beta*C_i rocblas_side_right: C_i := alpha*B_i*A_i + beta*C_i [in] uplo [rocblas_fill] rocblas_fill_upper: A_i is an upper triangular matrix rocblas_fill_lower: A_i is a lower triangular matrix [in] m [rocblas_int] m specifies the number of rows of B_i and C_i. m >= 0. [in] n [rocblas_int] n specifies the number of columns of B_i and C_i. n >= 0. [in] alpha alpha specifies the scalar alpha. When alpha is zero then A_i and B_i are not referenced. [in] A device pointer to first matrix A_1 A_i is m by m if side == rocblas_side_left A_i is n by n if side == rocblas_side_right Only the upper/lower triangular part is accessed. The imaginary component of the diagonal elements is not used. [in] lda [rocblas_int] lda specifies the first dimension of A_i. if side = rocblas_side_left, lda >= max( 1, m ), otherwise lda >= max( 1, n ). [in] stride_A [rocblas_stride] stride from the start of one matrix (A_i) and the next one (A_i+1) [in] B device pointer to first matrix B_1 of dimension (ldb, n) on the GPU [in] ldb [rocblas_int] ldb specifies the first dimension of B_i. if side = rocblas_operation_none, ldb >= max( 1, m ), otherwise ldb >= max( 1, n ). [in] stride_B [rocblas_stride] stride from the start of one matrix (B_i) and the next one (B_i+1) [in] beta beta specifies the scalar beta. When beta is zero then C need not be set before entry. [in] C device pointer to first matrix C_1 of dimension (ldc, n) on the GPU. [in] ldc [rocblas_int] ldc specifies the first dimension of C. ldc >= max( 1, m ) [in,out] stride_C [rocblas_stride] stride from the start of one matrix (C_i) and the next one (C_i+1) [in] batch_count [rocblas_int] number of instances in the batch
Member Function/Subroutine Documentation
◆ rocblas_zhemm_strided_batched_()
integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_zhemm_strided_batched::rocblas_zhemm_strided_batched_ | ( | type(c_ptr), value | handle, |
integer(kind(rocblas_side_left)), value | side, | ||
integer(kind(rocblas_fill_upper)), value | uplo, | ||
integer(c_int), value | m, | ||
integer(c_int), value | n, | ||
complex(c_double_complex) | alpha, | ||
type(c_ptr), value | A, | ||
integer(c_int), value | lda, | ||
integer(c_int64_t), value | stride_A, | ||
type(c_ptr), value | B, | ||
integer(c_int), value | ldb, | ||
integer(c_int64_t), value | stride_B, | ||
complex(c_double_complex) | beta, | ||
type(c_ptr), value | C, | ||
integer(c_int), value | ldc, | ||
integer(c_int64_t), value | stride_C, | ||
integer(c_int), value | batch_count | ||
) |
◆ rocblas_zhemm_strided_batched_full_rank()
integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_zhemm_strided_batched::rocblas_zhemm_strided_batched_full_rank | ( | type(c_ptr) | handle, |
integer(kind(rocblas_side_left)) | side, | ||
integer(kind(rocblas_fill_upper)) | uplo, | ||
integer(c_int) | m, | ||
integer(c_int) | n, | ||
complex(c_double_complex) | alpha, | ||
complex(c_double_complex), dimension(:,:), target | A, | ||
integer(c_int) | lda, | ||
integer(c_int64_t) | stride_A, | ||
complex(c_double_complex), dimension(:,:), target | B, | ||
integer(c_int) | ldb, | ||
integer(c_int64_t) | stride_B, | ||
complex(c_double_complex) | beta, | ||
complex(c_double_complex), dimension(:,:), target | C, | ||
integer(c_int) | ldc, | ||
integer(c_int64_t) | stride_C, | ||
integer(c_int) | batch_count | ||
) |
◆ rocblas_zhemm_strided_batched_rank_0()
integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_zhemm_strided_batched::rocblas_zhemm_strided_batched_rank_0 | ( | type(c_ptr) | handle, |
integer(kind(rocblas_side_left)) | side, | ||
integer(kind(rocblas_fill_upper)) | uplo, | ||
integer(c_int) | m, | ||
integer(c_int) | n, | ||
complex(c_double_complex) | alpha, | ||
complex(c_double_complex), target | A, | ||
integer(c_int) | lda, | ||
integer(c_int64_t) | stride_A, | ||
complex(c_double_complex), target | B, | ||
integer(c_int) | ldb, | ||
integer(c_int64_t) | stride_B, | ||
complex(c_double_complex) | beta, | ||
complex(c_double_complex), target | C, | ||
integer(c_int) | ldc, | ||
integer(c_int64_t) | stride_C, | ||
integer(c_int) | batch_count | ||
) |
◆ rocblas_zhemm_strided_batched_rank_1()
integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_zhemm_strided_batched::rocblas_zhemm_strided_batched_rank_1 | ( | type(c_ptr) | handle, |
integer(kind(rocblas_side_left)) | side, | ||
integer(kind(rocblas_fill_upper)) | uplo, | ||
integer(c_int) | m, | ||
integer(c_int) | n, | ||
complex(c_double_complex) | alpha, | ||
complex(c_double_complex), dimension(:), target | A, | ||
integer(c_int) | lda, | ||
integer(c_int64_t) | stride_A, | ||
complex(c_double_complex), dimension(:), target | B, | ||
integer(c_int) | ldb, | ||
integer(c_int64_t) | stride_B, | ||
complex(c_double_complex) | beta, | ||
complex(c_double_complex), dimension(:), target | C, | ||
integer(c_int) | ldc, | ||
integer(c_int64_t) | stride_C, | ||
integer(c_int) | batch_count | ||
) |
The documentation for this interface was generated from the following file: