rocblas_sdgmm Interface Reference

rocblas_sdgmm Interface Reference#

HIPFORT API Reference: hipfort_rocblas::rocblas_sdgmm Interface Reference
hipfort_rocblas::rocblas_sdgmm Interface Reference

BLAS Level 3 API. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocblas_sdgmm_ (handle, side, m, n, a, lda, x, incx, c, ldc)
 
integer(kind(rocblas_status_success)) function rocblas_sdgmm_rank_0 (handle, side, m, n, a, lda, x, incx, c, ldc)
 
integer(kind(rocblas_status_success)) function rocblas_sdgmm_rank_1 (handle, side, m, n, a, lda, x, incx, c, ldc)
 
integer(kind(rocblas_status_success)) function rocblas_sdgmm_full_rank (handle, side, m, n, a, lda, x, incx, c, ldc)
 

Detailed Description

BLAS Level 3 API.

The dgmm functions perform one of the matrix-matrix operations:

C = A * diag(x) if side == rocblas_side_right
C = diag(x) * A if side == rocblas_side_left

where C and A are m by n dimensional matrices, diag( x ) is a diagonal matrix, and x is vector of dimension n if side == rocblas_side_right and dimension m if side == rocblas_side_left.

Parameters
[in]handle- [rocblas_handle] handle to the rocBLAS library context queue.
[in]side- [rocblas_side] specifies the side of diag(x).
[in]m- [rocblas_int] matrix dimension m.
[in]n- [rocblas_int] matrix dimension n.
[in]A- device pointer storing matrix A.
[in]lda- [rocblas_int] specifies the leading dimension of A.
[in]x- device pointer storing vector x.
[in]incx- [rocblas_int] specifies the increment between values of x
[in,out]C- device pointer storing matrix C.
[in]ldc- [rocblas_int] specifies the leading dimension of C.

Member Function/Subroutine Documentation

◆ rocblas_sdgmm_()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_sdgmm::rocblas_sdgmm_ ( type(c_ptr), value  handle,
integer(kind(rocblas_side_left)), value  side,
integer(c_int), value  m,
integer(c_int), value  n,
type(c_ptr), value  a,
integer(c_int), value  lda,
type(c_ptr), value  x,
integer(c_int), value  incx,
type(c_ptr), value  c,
integer(c_int), value  ldc 
)

◆ rocblas_sdgmm_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_sdgmm::rocblas_sdgmm_full_rank ( type(c_ptr)  handle,
integer(kind(rocblas_side_left))  side,
integer(c_int)  m,
integer(c_int)  n,
real(c_float), dimension(:,:), target  a,
integer(c_int)  lda,
real(c_float), dimension(:), target  x,
integer(c_int)  incx,
real(c_float), dimension(:,:), target  c,
integer(c_int)  ldc 
)

◆ rocblas_sdgmm_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_sdgmm::rocblas_sdgmm_rank_0 ( type(c_ptr)  handle,
integer(kind(rocblas_side_left))  side,
integer(c_int)  m,
integer(c_int)  n,
real(c_float), target  a,
integer(c_int)  lda,
real(c_float), target  x,
integer(c_int)  incx,
real(c_float), target  c,
integer(c_int)  ldc 
)

◆ rocblas_sdgmm_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_sdgmm::rocblas_sdgmm_rank_1 ( type(c_ptr)  handle,
integer(kind(rocblas_side_left))  side,
integer(c_int)  m,
integer(c_int)  n,
real(c_float), dimension(:), target  a,
integer(c_int)  lda,
real(c_float), dimension(:), target  x,
integer(c_int)  incx,
real(c_float), dimension(:), target  c,
integer(c_int)  ldc 
)

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