hipblaszrotg Interface Reference

hipblaszrotg Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblaszrotg Interface Reference
hipfort_hipblas::hipblaszrotg Interface Reference

BLAS Level 1 API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblaszrotg_ (handle, a, b, c, s)

Detailed Description

BLAS Level 1 API.

rotg creates the Givens rotation matrix for the vector (a b). Scalars c and s and arrays a and b may be stored in either host or device memory, location is specified by calling hipblasSetPointerMode. If the pointer mode is set to HIPBLAS_POINTER_MODE_HOST, this function blocks the CPU until the GPU has finished and the results are available in host memory. If the pointer mode is set to HIPBLAS_POINTER_MODE_DEVICE, this function returns immediately and synchronization is required to read the results.

[in]handle[hipblasHandle_t] handle to the hipblas library context queue.
[in,out]adevice pointer or host pointer to input vector element, overwritten with r.
[in,out]bdevice pointer or host pointer to input vector element, overwritten with z.
[in,out]cdevice pointer or host pointer to cosine element of Givens rotation.
[in,out]sdevice pointer or host pointer sine element of Givens rotation.

Member Function/Subroutine Documentation

◆ hipblaszrotg_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszrotg::hipblaszrotg_ ( type(c_ptr), value  handle,
type(c_ptr), value  a,
type(c_ptr), value  b,
type(c_ptr), value  c,
type(c_ptr), value  s 

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