This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

hipblaszdgmmstridedbatched Interface Reference

hipblaszdgmmstridedbatched Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblaszdgmmstridedbatched Interface Reference
hipfort_hipblas::hipblaszdgmmstridedbatched Interface Reference

BLAS Level 3 API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblaszdgmmstridedbatched_ (handle, side, m, n, A, lda, strideA, x, incx, stridex, C, ldc, strideC, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszdgmmstridedbatched_full_rank (handle, side, m, n, A, lda, strideA, x, incx, stridex, C, ldc, strideC, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszdgmmstridedbatched_rank_0 (handle, side, m, n, A, lda, strideA, x, incx, stridex, C, ldc, strideC, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszdgmmstridedbatched_rank_1 (handle, side, m, n, A, lda, strideA, x, incx, stridex, C, ldc, strideC, batchCount)
 

Detailed Description

BLAS Level 3 API.

dgmmStridedBatched performs one of the batched matrix-matrix operations

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

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.

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]Adevice pointer to the first matrix A_0 on the GPU. Each A_i is of dimension ( lda, n )
[in]lda[int] specifies the leading dimension of A.
[in]strideA[hipblasStride] stride from the start of one matrix (A_i) and the next one (A_i+1)
[in]xpointer to the first vector x_0 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
[in]stridex[hipblasStride] stride from the start of one vector(x_i) and the next one (x_i+1)
[in,out]Cdevice pointer to the first matrix C_0 on the GPU. Each C_i is of dimension ( ldc, n ).
[in]ldc[int] specifies the leading dimension of C.
[in]strideC[hipblasStride] stride from the start of one matrix (C_i) and the next one (C_i+1)
[in]batchCount[int] number of instances i in the batch.

Member Function/Subroutine Documentation

◆ hipblaszdgmmstridedbatched_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszdgmmstridedbatched::hipblaszdgmmstridedbatched_ ( 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  A,
integer(c_int), value  lda,
integer(c_int64_t), value  strideA,
type(c_ptr), value  x,
integer(c_int), value  incx,
integer(c_int64_t), value  stridex,
type(c_ptr), value  C,
integer(c_int), value  ldc,
integer(c_int64_t), value  strideC,
integer(c_int), value  batchCount 
)

◆ hipblaszdgmmstridedbatched_full_rank()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszdgmmstridedbatched::hipblaszdgmmstridedbatched_full_rank ( type(c_ptr)  handle,
integer(kind(hipblas_side_left))  side,
integer(c_int)  m,
integer(c_int)  n,
complex(c_double_complex), dimension(:,:), target  A,
integer(c_int)  lda,
integer(c_int64_t)  strideA,
complex(c_double_complex), dimension(:), target  x,
integer(c_int)  incx,
integer(c_int64_t)  stridex,
complex(c_double_complex), dimension(:,:), target  C,
integer(c_int)  ldc,
integer(c_int64_t)  strideC,
integer(c_int)  batchCount 
)

◆ hipblaszdgmmstridedbatched_rank_0()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszdgmmstridedbatched::hipblaszdgmmstridedbatched_rank_0 ( type(c_ptr)  handle,
integer(kind(hipblas_side_left))  side,
integer(c_int)  m,
integer(c_int)  n,
complex(c_double_complex), target  A,
integer(c_int)  lda,
integer(c_int64_t)  strideA,
complex(c_double_complex), target  x,
integer(c_int)  incx,
integer(c_int64_t)  stridex,
complex(c_double_complex), target  C,
integer(c_int)  ldc,
integer(c_int64_t)  strideC,
integer(c_int)  batchCount 
)

◆ hipblaszdgmmstridedbatched_rank_1()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszdgmmstridedbatched::hipblaszdgmmstridedbatched_rank_1 ( type(c_ptr)  handle,
integer(kind(hipblas_side_left))  side,
integer(c_int)  m,
integer(c_int)  n,
complex(c_double_complex), dimension(:), target  A,
integer(c_int)  lda,
integer(c_int64_t)  strideA,
complex(c_double_complex), dimension(:), target  x,
integer(c_int)  incx,
integer(c_int64_t)  stridex,
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: