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

hipblaszdgmmbatched Interface Reference

hipblaszdgmmbatched Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblaszdgmmbatched Interface Reference
hipfort_hipblas::hipblaszdgmmbatched Interface Reference

BLAS Level 3 API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblaszdgmmbatched_ (handle, side, m, n, A, lda, x, incx, C, ldc, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszdgmmbatched_full_rank (handle, side, m, n, A, lda, x, incx, C, ldc, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszdgmmbatched_rank_0 (handle, side, m, n, A, lda, x, incx, C, ldc, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszdgmmbatched_rank_1 (handle, side, m, n, A, lda, x, incx, C, ldc, batchCount)
 

Detailed Description

BLAS Level 3 API.

dgmmBatched performs 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.

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 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]xdevice 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]Cdevice 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

◆ hipblaszdgmmbatched_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszdgmmbatched::hipblaszdgmmbatched_ ( 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)  A,
integer(c_int), value  lda,
type(c_ptr)  x,
integer(c_int), value  incx,
type(c_ptr)  C,
integer(c_int), value  ldc,
integer(c_int), value  batchCount 
)

◆ hipblaszdgmmbatched_full_rank()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszdgmmbatched::hipblaszdgmmbatched_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,
complex(c_double_complex), dimension(:,:), target  x,
integer(c_int)  incx,
complex(c_double_complex), dimension(:,:,:), target  C,
integer(c_int)  ldc,
integer(c_int)  batchCount 
)

◆ hipblaszdgmmbatched_rank_0()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszdgmmbatched::hipblaszdgmmbatched_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,
complex(c_double_complex), target  x,
integer(c_int)  incx,
complex(c_double_complex), target  C,
integer(c_int)  ldc,
integer(c_int)  batchCount 
)

◆ hipblaszdgmmbatched_rank_1()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszdgmmbatched::hipblaszdgmmbatched_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,
complex(c_double_complex), dimension(:), target  x,
integer(c_int)  incx,
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: