rocblas_drotm Interface Reference

rocblas_drotm Interface Reference#

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

BLAS Level 1 API. 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.

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

Parameters
[in]handle[rocblas_handle] handle to the rocblas library context queue.
[in]n[rocblas_int] number of elements in the x and y vectors.
[in,out]xdevice pointer storing vector x.
[in]incx[rocblas_int] specifies the increment between elements of x.
[in,out]ydevice pointer storing vector y.
[in]incy[rocblas_int] specifies the increment between elements of y.
[in]paramdevice 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: