rocblas_drotm Interface Reference

rocblas_drotm Interface Reference#

HIPFORT API Reference: hipfort_rocblas::rocblas_drotm Interface Reference
hipfort_rocblas::rocblas_drotm Interface Reference

! More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocblas_drotm_ (handle, n, x, incx, y, incy, param)
 
integer(kind(rocblas_status_success)) function rocblas_drotm_rank_0 (handle, n, x, incx, y, incy, param)
 
integer(kind(rocblas_status_success)) function rocblas_drotm_rank_1 (handle, n, x, incx, y, incy, param)
 

Detailed Description

!

BLAS Level 1 API

\details
rotm applies the modified Givens rotation matrix defined by param to vectors x and y.

@param[in]
handle  [rocblas_handle]
        handle to the rocblas library context queue.
@param[in]
n       [rocblas_int]
        number of elements in the x and y vectors.
@param[inout]
x       device pointer storing vector x.
@param[in]
incx    [rocblas_int]
        specifies the increment between elements of x.
@param[inout]
y       device pointer storing vector y.
@param[in]
incy    [rocblas_int]
        specifies the increment between elements of y.
@param[in]
param   device vector or host vector of 5 elements defining the rotation.
        param[0] = flag
        param[1] = H11
        param[2] = H21
        param[3] = H12
        param[4] = H22
        The flag parameter defines the form of H:
        flag = -1 => H = ( H11 H12 H21 H22 )
        flag =  0 => H = ( 1.0 H12 H21 1.0 )
        flag =  1 => H = ( H11 1.0 -1.0 H22 )
        flag = -2 => H = ( 1.0 0.0 0.0 1.0 )
        param may be stored in either host or device memory, location is specified by calling rocblas_set_pointer_mode.

Member Function/Subroutine Documentation

◆ rocblas_drotm_()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_drotm::rocblas_drotm_ ( type(c_ptr), value  handle,
integer(c_int), value  n,
type(c_ptr), value  x,
integer(c_int), value  incx,
type(c_ptr), value  y,
integer(c_int), value  incy,
type(c_ptr), value  param 
)

◆ rocblas_drotm_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_drotm::rocblas_drotm_rank_0 ( type(c_ptr)  handle,
integer(c_int)  n,
real(c_double), target  x,
integer(c_int)  incx,
real(c_double), target  y,
integer(c_int)  incy,
type(c_ptr)  param 
)

◆ rocblas_drotm_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_drotm::rocblas_drotm_rank_1 ( type(c_ptr)  handle,
integer(c_int)  n,
real(c_double), dimension(:), target  x,
integer(c_int)  incx,
real(c_double), dimension(:), target  y,
integer(c_int)  incy,
type(c_ptr)  param 
)

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