rocblas_sger Interface Reference

rocblas_sger Interface Reference#

HIPFORT API Reference: hipfort_rocblas::rocblas_sger Interface Reference
hipfort_rocblas::rocblas_sger Interface Reference

BLAS Level 2 API. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocblas_sger_ (handle, m, n, alpha, x, incx, y, incy, a, lda)
 
integer(kind(rocblas_status_success)) function rocblas_sger_rank_0 (handle, m, n, alpha, x, incx, y, incy, a, lda)
 
integer(kind(rocblas_status_success)) function rocblas_sger_rank_1 (handle, m, n, alpha, x, incx, y, incy, a, lda)
 
integer(kind(rocblas_status_success)) function rocblas_sger_full_rank (handle, m, n, alpha, x, incx, y, incy, a, lda)
 

Detailed Description

BLAS Level 2 API.

The ger, geru, and gerc functions perform the matrix-vector operations:

A := A + alpha*x*y**T , OR
A := A + alpha*x*y**H for gerc

where alpha is a scalar, x and y are vectors, and A is an m by n matrix.

Parameters
[in]handle- [rocblas_handle] handle to the rocBLAS library context queue.
[in]m- [rocblas_int] the number of rows of the matrix A.
[in]n- [rocblas_int] the number of columns of the matrix A.
[in]alphadevice pointer or host pointer to scalar alpha.
[in]x- device pointer storing vector x.
[in]incx- [rocblas_int] specifies the increment for the elements of x.
[in]y- device pointer storing vector y.
[in]incy- [rocblas_int] specifies the increment for the elements of y.
[in,out]A- device pointer storing matrix A.
[in]lda- [rocblas_int] specifies the leading dimension of A.

Member Function/Subroutine Documentation

◆ rocblas_sger_()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_sger::rocblas_sger_ ( type(c_ptr), value  handle,
integer(c_int), value  m,
integer(c_int), value  n,
real(c_float)  alpha,
type(c_ptr), value  x,
integer(c_int), value  incx,
type(c_ptr), value  y,
integer(c_int), value  incy,
type(c_ptr), value  a,
integer(c_int), value  lda 
)

◆ rocblas_sger_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_sger::rocblas_sger_full_rank ( type(c_ptr)  handle,
integer(c_int)  m,
integer(c_int)  n,
real(c_float)  alpha,
real(c_float), dimension(:), target  x,
integer(c_int)  incx,
real(c_float), dimension(:), target  y,
integer(c_int)  incy,
real(c_float), dimension(:,:), target  a,
integer(c_int)  lda 
)

◆ rocblas_sger_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_sger::rocblas_sger_rank_0 ( type(c_ptr)  handle,
integer(c_int)  m,
integer(c_int)  n,
real(c_float)  alpha,
real(c_float), target  x,
integer(c_int)  incx,
real(c_float), target  y,
integer(c_int)  incy,
real(c_float), target  a,
integer(c_int)  lda 
)

◆ rocblas_sger_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_sger::rocblas_sger_rank_1 ( type(c_ptr)  handle,
integer(c_int)  m,
integer(c_int)  n,
real(c_float)  alpha,
real(c_float), dimension(:), target  x,
integer(c_int)  incx,
real(c_float), dimension(:), target  y,
integer(c_int)  incy,
real(c_float), dimension(:), target  a,
integer(c_int)  lda 
)

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