hipblaszherkbatched Interface Reference

hipblaszherkbatched Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblaszherkbatched Interface Reference
hipfort_hipblas::hipblaszherkbatched Interface Reference

BLAS Level 3 API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblaszherkbatched_ (handle, uplo, transA, n, k, alpha, A, lda, beta, C, ldc, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszherkbatched_full_rank (handle, uplo, transA, n, k, alpha, A, lda, beta, C, ldc, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszherkbatched_rank_0 (handle, uplo, transA, n, k, alpha, A, lda, beta, C, ldc, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszherkbatched_rank_1 (handle, uplo, transA, n, k, alpha, A, lda, beta, C, ldc, batchCount)
 

Detailed Description

BLAS Level 3 API.

herkBatched performs a batch of the matrix-matrix operations for a Hermitian rank-k update

C_i := alpha*op( A_i )*op( A_i )^H + beta*C_i

where alpha and beta are scalars, op(A) is an n by k matrix, and C_i is a n x n Hermitian matrix stored as either upper or lower.

op( A_i ) = A_i, and A_i is n by k if transA == HIPBLAS_OP_N
op( A_i ) = A_i^H and A_i is k by n if transA == HIPBLAS_OP_C
Parameters
[in]handle[hipblasHandle_t] handle to the hipblas library context queue.
[in]uplo[hipblasFillMode_t] HIPBLAS_FILL_MODE_UPPER: C_i is an upper triangular matrix HIPBLAS_FILL_MODE_LOWER: C_i is a lower triangular matrix
[in]transA[hipblasOperation_t] HIPBLAS_OP_C: op(A) = A^H HIPBLAS_OP_N: op(A) = A
[in]n[int] n specifies the number of rows and columns of C_i. n >= 0.
[in]k[int] k specifies the number of columns of op(A). k >= 0.
[in]alphaalpha specifies the scalar alpha. When alpha is zero then A is not referenced and A need not be set before entry.
[in]Adevice array of device pointers storing each matrix_i A of dimension (lda, k) when transA is HIPBLAS_OP_N, otherwise of dimension (lda, n)
[in]lda[int] lda specifies the first dimension of A_i. if transA = HIPBLAS_OP_N, lda >= max( 1, n ), otherwise lda >= max( 1, k ).
[in]betabeta specifies the scalar beta. When beta is zero then C need not be set before entry.
[in]Cdevice array of device pointers storing each matrix C_i on the GPU. The imaginary component of the diagonal elements are not used but are set to zero unless quick return.
[in]ldc[int] ldc specifies the first dimension of C. ldc >= max( 1, n ).
[in]batchCount[int] number of instances in the batch.

Member Function/Subroutine Documentation

◆ hipblaszherkbatched_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszherkbatched::hipblaszherkbatched_ ( type(c_ptr), value  handle,
integer(kind(hipblas_fill_mode_upper)), value  uplo,
integer(kind(hipblas_op_n)), value  transA,
integer(c_int), value  n,
integer(c_int), value  k,
real(c_double)  alpha,
type(c_ptr)  A,
integer(c_int), value  lda,
real(c_double)  beta,
type(c_ptr)  C,
integer(c_int), value  ldc,
integer(c_int), value  batchCount 
)

◆ hipblaszherkbatched_full_rank()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszherkbatched::hipblaszherkbatched_full_rank ( type(c_ptr)  handle,
integer(kind(hipblas_fill_mode_upper))  uplo,
integer(kind(hipblas_op_n))  transA,
integer(c_int)  n,
integer(c_int)  k,
real(c_double)  alpha,
complex(c_double_complex), dimension(:,:,:), target  A,
integer(c_int)  lda,
real(c_double)  beta,
complex(c_double_complex), dimension(:,:,:), target  C,
integer(c_int)  ldc,
integer(c_int)  batchCount 
)

◆ hipblaszherkbatched_rank_0()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszherkbatched::hipblaszherkbatched_rank_0 ( type(c_ptr)  handle,
integer(kind(hipblas_fill_mode_upper))  uplo,
integer(kind(hipblas_op_n))  transA,
integer(c_int)  n,
integer(c_int)  k,
real(c_double)  alpha,
complex(c_double_complex), target  A,
integer(c_int)  lda,
real(c_double)  beta,
complex(c_double_complex), target  C,
integer(c_int)  ldc,
integer(c_int)  batchCount 
)

◆ hipblaszherkbatched_rank_1()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszherkbatched::hipblaszherkbatched_rank_1 ( type(c_ptr)  handle,
integer(kind(hipblas_fill_mode_upper))  uplo,
integer(kind(hipblas_op_n))  transA,
integer(c_int)  n,
integer(c_int)  k,
real(c_double)  alpha,
complex(c_double_complex), dimension(:), target  A,
integer(c_int)  lda,
real(c_double)  beta,
complex(c_double_complex), dimension(:), target  C,
integer(c_int)  ldc,
integer(c_int)  batchCount 
)

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