hipblasssymmstridedbatched Interface Reference

hipblasssymmstridedbatched Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblasssymmstridedbatched Interface Reference
hipfort_hipblas::hipblasssymmstridedbatched Interface Reference

BLAS Level 3 API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblasssymmstridedbatched_ (handle, side, uplo, m, n, alpha, ap, lda, stridea, bp, ldb, strideb, beta, cp, ldc, stridec, batchcount)
 
integer(kind(hipblas_status_success)) function hipblasssymmstridedbatched_rank_0 (handle, side, uplo, m, n, alpha, ap, lda, stridea, bp, ldb, strideb, beta, cp, ldc, stridec, batchcount)
 
integer(kind(hipblas_status_success)) function hipblasssymmstridedbatched_rank_1 (handle, side, uplo, m, n, alpha, ap, lda, stridea, bp, ldb, strideb, beta, cp, ldc, stridec, batchcount)
 
integer(kind(hipblas_status_success)) function hipblasssymmstridedbatched_full_rank (handle, side, uplo, m, n, alpha, ap, lda, stridea, bp, ldb, strideb, beta, cp, ldc, stridec, batchcount)
 

Detailed Description

BLAS Level 3 API.

The symmStridedBatched functions perform a batch of the matrix-matrix operations:

C_i := alpha*A_i*B_i + beta*C_i if side == HIPBLAS_SIDE_LEFT,
C_i := alpha*B_i*A_i + beta*C_i if side == HIPBLAS_SIDE_RIGHT,

where alpha and beta are scalars, B_i and C_i are m by n matrices, and A_i is a symmetric matrix stored as either upper or lower.

  • Supported precisions in rocBLAS : s, d, c, and z.
  • Supported precisions in cuBLAS : No support.
Parameters
[in]handle- [hipblasHandle_t] handle to the hipBLAS library context queue.
[in]side- [hipblasSideMode_t]
  • HIPBLAS_SIDE_LEFT: C_i := alpha*A_i*B_i + beta*C_i
  • HIPBLAS_SIDE_RIGHT: C_i := alpha*B_i*A_i + beta*C_i
[in]uplo- [hipblasFillMode_t]
  • HIPBLAS_FILL_MODE_UPPER: A_i is an upper triangular matrix.
  • HIPBLAS_FILL_MODE_LOWER: A_i is a lower triangular matrix.
[in]m- [int] m specifies the number of rows of B_i and C_i. m >= 0.
[in]n- [int] n specifies the number of columns of B_i and C_i. n >= 0.
[in]alphaalpha specifies the scalar alpha. When alpha is zero, then A_i and B_i are not referenced.
[in]AP- device pointer to first matrix A_1. A_i is m by m if side == HIPBLAS_SIDE_LEFT. A_i is n by n if side == HIPBLAS_SIDE_RIGHT. Only the upper/lower triangular part is accessed.
[in]lda- [int] lda specifies the first dimension of A_i. If side = HIPBLAS_SIDE_LEFT, lda >= max( 1, m ). Otherwise, lda >= max( 1, n ).
[in]strideA- [hipblasStride] stride from the start of one matrix (A_i) to the next one (A_i+1).
[in]BP- device pointer to first matrix B_1 of dimension (ldb, n) on the GPU.
[in]ldb- [int] ldb specifies the first dimension of B_i. ldb >= max( 1, m ).
[in]strideB- [hipblasStride] stride from the start of one matrix (B_i) to the next one (B_i+1).
[in]betabeta specifies the scalar beta. When beta is zero, then C does not need to be set before entry.
[in]CP- device pointer to first matrix C_1 of dimension (ldc, n) on the GPU.
[in]ldc- [int] ldc specifies the first dimension of C. ldc >= max( 1, m ).
[in,out]strideC- [hipblasStride] stride from the start of one matrix (C_i) to the next one (C_i+1).
[in]batchCount- [int] number of instances in the batch.

Member Function/Subroutine Documentation

◆ hipblasssymmstridedbatched_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasssymmstridedbatched::hipblasssymmstridedbatched_ ( type(c_ptr), value  handle,
integer(kind(hipblas_side_left)), value  side,
integer(kind(hipblas_fill_mode_upper)), value  uplo,
integer(c_int), value  m,
integer(c_int), value  n,
real(c_float)  alpha,
type(c_ptr), value  ap,
integer(c_int), value  lda,
integer(c_int64_t), value  stridea,
type(c_ptr), value  bp,
integer(c_int), value  ldb,
integer(c_int64_t), value  strideb,
real(c_float)  beta,
type(c_ptr), value  cp,
integer(c_int), value  ldc,
integer(c_int64_t), value  stridec,
integer(c_int), value  batchcount 
)

◆ hipblasssymmstridedbatched_full_rank()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasssymmstridedbatched::hipblasssymmstridedbatched_full_rank ( type(c_ptr)  handle,
integer(kind(hipblas_side_left))  side,
integer(kind(hipblas_fill_mode_upper))  uplo,
integer(c_int)  m,
integer(c_int)  n,
real(c_float)  alpha,
real(c_float), dimension(:,:), target  ap,
integer(c_int)  lda,
integer(c_int64_t)  stridea,
real(c_float), dimension(:,:), target  bp,
integer(c_int)  ldb,
integer(c_int64_t)  strideb,
real(c_float)  beta,
real(c_float), dimension(:,:), target  cp,
integer(c_int)  ldc,
integer(c_int64_t)  stridec,
integer(c_int)  batchcount 
)

◆ hipblasssymmstridedbatched_rank_0()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasssymmstridedbatched::hipblasssymmstridedbatched_rank_0 ( type(c_ptr)  handle,
integer(kind(hipblas_side_left))  side,
integer(kind(hipblas_fill_mode_upper))  uplo,
integer(c_int)  m,
integer(c_int)  n,
real(c_float)  alpha,
real(c_float), target  ap,
integer(c_int)  lda,
integer(c_int64_t)  stridea,
real(c_float), target  bp,
integer(c_int)  ldb,
integer(c_int64_t)  strideb,
real(c_float)  beta,
real(c_float), target  cp,
integer(c_int)  ldc,
integer(c_int64_t)  stridec,
integer(c_int)  batchcount 
)

◆ hipblasssymmstridedbatched_rank_1()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasssymmstridedbatched::hipblasssymmstridedbatched_rank_1 ( type(c_ptr)  handle,
integer(kind(hipblas_side_left))  side,
integer(kind(hipblas_fill_mode_upper))  uplo,
integer(c_int)  m,
integer(c_int)  n,
real(c_float)  alpha,
real(c_float), dimension(:), target  ap,
integer(c_int)  lda,
integer(c_int64_t)  stridea,
real(c_float), dimension(:), target  bp,
integer(c_int)  ldb,
integer(c_int64_t)  strideb,
real(c_float)  beta,
real(c_float), dimension(:), target  cp,
integer(c_int)  ldc,
integer(c_int64_t)  stridec,
integer(c_int)  batchcount 
)

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