hipblaszsyrkxstridedbatched Interface Reference

hipblaszsyrkxstridedbatched Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblaszsyrkxstridedbatched Interface Reference
hipfort_hipblas::hipblaszsyrkxstridedbatched Interface Reference

BLAS Level 3 API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblaszsyrkxstridedbatched_ (handle, uplo, transA, n, k, alpha, A, lda, strideA, B, ldb, strideB, beta, C, ldc, stridec, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszsyrkxstridedbatched_full_rank (handle, uplo, transA, n, k, alpha, A, lda, strideA, B, ldb, strideB, beta, C, ldc, stridec, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszsyrkxstridedbatched_rank_0 (handle, uplo, transA, n, k, alpha, A, lda, strideA, B, ldb, strideB, beta, C, ldc, stridec, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszsyrkxstridedbatched_rank_1 (handle, uplo, transA, n, k, alpha, A, lda, strideA, B, ldb, strideB, beta, C, ldc, stridec, batchCount)
 

Detailed Description

BLAS Level 3 API.

syrkxStridedBatched performs a batch of the matrix-matrix operations for a symmetric rank-k update

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

where alpha and beta are scalars, op(A_i) and op(B_i) are n by k matrix, and C_i is a symmetric n x n matrix stored as either upper or lower. This routine should only be used when the caller can guarantee that the result of op( A_i )*op( B_i )^T will be symmetric.

op( A_i ) = A_i, op( B_i ) = B_i, and A_i and B_i are n by k if trans == HIPBLAS_OP_N
op( A_i ) = A_i^T, op( B_i ) = B_i^T,  and A_i and B_i are k by n if trans == HIPBLAS_OP_T
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]trans[hipblasOperation_t] HIPBLAS_OP_T: op( A_i ) = A_i^T, op( B_i ) = B_i^T HIPBLAS_OP_N: op( A_i ) = A_i, op( B_i ) = B_i
[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 pointer to the first matrix A_1 on the GPU of dimension (lda, k) when trans is HIPBLAS_OP_N, otherwise of dimension (lda, n)
[in]lda[int] lda specifies the first dimension of A_i. if trans = HIPBLAS_OP_N, lda >= max( 1, n ), otherwise lda >= max( 1, k ).
[in]strideA[hipblasStride] stride from the start of one matrix (A_i) and the next one (A_i+1)
[in]BDevice pointer to the first matrix B_1 on the GPU of dimension (ldb, k) when trans is HIPBLAS_OP_N, otherwise of dimension (ldb, n)
[in]ldb[int] ldb specifies the first dimension of B_i. if trans = HIPBLAS_OP_N, ldb >= max( 1, n ), otherwise ldb >= max( 1, k ).
[in]strideB[hipblasStride] stride from the start of one matrix (B_i) and the next one (B_i+1)
[in]betabeta specifies the scalar beta. When beta is zero then C need not be set before entry.
[in]CDevice pointer to the first matrix C_1 on the GPU.
[in]ldc[int] ldc specifies the first dimension of C. ldc >= max( 1, n ).
[in,out]strideC[hipblasStride] stride from the start of one matrix (C_i) and the next one (C_i+1)
[in]batchCount[int] number of instances in the batch.

Member Function/Subroutine Documentation

◆ hipblaszsyrkxstridedbatched_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszsyrkxstridedbatched::hipblaszsyrkxstridedbatched_ ( 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,
complex(c_double_complex)  alpha,
type(c_ptr), value  A,
integer(c_int), value  lda,
integer(c_int64_t), value  strideA,
type(c_ptr), value  B,
integer(c_int), value  ldb,
integer(c_int64_t), value  strideB,
complex(c_double_complex)  beta,
type(c_ptr), value  C,
integer(c_int), value  ldc,
integer(c_int64_t), value  stridec,
integer(c_int), value  batchCount 
)

◆ hipblaszsyrkxstridedbatched_full_rank()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszsyrkxstridedbatched::hipblaszsyrkxstridedbatched_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,
complex(c_double_complex)  alpha,
complex(c_double_complex), dimension(:,:), target  A,
integer(c_int)  lda,
integer(c_int64_t)  strideA,
complex(c_double_complex), dimension(:,:), target  B,
integer(c_int)  ldb,
integer(c_int64_t)  strideB,
complex(c_double_complex)  beta,
complex(c_double_complex), dimension(:,:), target  C,
integer(c_int)  ldc,
integer(c_int64_t)  stridec,
integer(c_int)  batchCount 
)

◆ hipblaszsyrkxstridedbatched_rank_0()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszsyrkxstridedbatched::hipblaszsyrkxstridedbatched_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,
complex(c_double_complex)  alpha,
complex(c_double_complex), target  A,
integer(c_int)  lda,
integer(c_int64_t)  strideA,
complex(c_double_complex), target  B,
integer(c_int)  ldb,
integer(c_int64_t)  strideB,
complex(c_double_complex)  beta,
complex(c_double_complex), target  C,
integer(c_int)  ldc,
integer(c_int64_t)  stridec,
integer(c_int)  batchCount 
)

◆ hipblaszsyrkxstridedbatched_rank_1()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszsyrkxstridedbatched::hipblaszsyrkxstridedbatched_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,
complex(c_double_complex)  alpha,
complex(c_double_complex), dimension(:), target  A,
integer(c_int)  lda,
integer(c_int64_t)  strideA,
complex(c_double_complex), dimension(:), target  B,
integer(c_int)  ldb,
integer(c_int64_t)  strideB,
complex(c_double_complex)  beta,
complex(c_double_complex), dimension(:), target  C,
integer(c_int)  ldc,
integer(c_int64_t)  stridec,
integer(c_int)  batchCount 
)

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