hipblassdgmmbatched Interface Reference

hipblassdgmmbatched Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblassdgmmbatched Interface Reference
hipfort_hipblas::hipblassdgmmbatched Interface Reference

BLAS Level 3 API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblassdgmmbatched_ (handle, side, m, n, ap, lda, x, incx, cp, ldc, batchcount)
 

Detailed Description

BLAS Level 3 API.

The dgmmBatched functions perform one of the batched matrix-matrix operations:

C_i = A_i * diag(x_i) for i = 0, 1, ... batchCount-1 if side == HIPBLAS_SIDE_RIGHT
C_i = diag(x_i) * A_i for i = 0, 1, ... batchCount-1 if side == HIPBLAS_SIDE_LEFT

where C_i and A_i are m by n dimensional matrices, diag(x_i) is a diagonal matrix and x_i is vector of dimension n if side == HIPBLAS_SIDE_RIGHT and dimension m if side == HIPBLAS_SIDE_LEFT.

  • 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] specifies the side of diag(x).
[in]m- [int] matrix dimension m.
[in]n- [int] matrix dimension n.
[in]AP- device array of device pointers storing each matrix A_i on the GPU. Each A_i is of dimension ( lda, n ).
[in]lda- [int] specifies the leading dimension of A_i.
[in]x- device array of device pointers storing each vector x_i on the GPU. Each x_i is of dimension n if side == HIPBLAS_SIDE_RIGHT and dimension m if side == HIPBLAS_SIDE_LEFT.
[in]incx- [int] specifies the increment between values of x_i.
[in,out]CP- device array of device pointers storing each matrix C_i on the GPU. Each C_i is of dimension ( ldc, n ).
[in]ldc- [int] specifies the leading dimension of C_i.
[in]batchCount- [int] number of instances in the batch.

Member Function/Subroutine Documentation

◆ hipblassdgmmbatched_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblassdgmmbatched::hipblassdgmmbatched_ ( type(c_ptr), value  handle,
integer(kind(hipblas_side_left)), value  side,
integer(c_int), value  m,
integer(c_int), value  n,
type(c_ptr), value  ap,
integer(c_int), value  lda,
type(c_ptr), value  x,
integer(c_int), value  incx,
type(c_ptr), value  cp,
integer(c_int), value  ldc,
integer(c_int), value  batchcount 
)

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