hipblasdrotm Interface Reference#
hipfort_hipblas::hipblasdrotm Interface Reference
BLAS Level 1 API. More...
Public Member Functions | |
integer(kind(hipblas_status_success)) function | hipblasdrotm_ (handle, n, x, incx, y, incy, param) |
integer(kind(hipblas_status_success)) function | hipblasdrotm_rank_0 (handle, n, x, incx, y, incy, param) |
integer(kind(hipblas_status_success)) function | hipblasdrotm_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 [hipblasHandle_t] handle to the hipblas library context queue. [in] n [int] number of elements in the x and y vectors. [in,out] x device pointer storing vector x. [in] incx [int] specifies the increment between elements of x. [in,out] y device pointer storing vector y. [in] incy [int] specifies the increment between elements of y. [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 hipblasSetPointerMode.
Member Function/Subroutine Documentation
◆ hipblasdrotm_()
integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasdrotm::hipblasdrotm_ | ( | 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 | ||
) |
◆ hipblasdrotm_rank_0()
integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasdrotm::hipblasdrotm_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 | ||
) |
◆ hipblasdrotm_rank_1()
integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasdrotm::hipblasdrotm_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: