hipblassrotg Interface Reference#
hipfort_hipblas::hipblassrotg Interface Reference
BLAS Level 1 API. More...
Public Member Functions | |
| integer(kind(hipblas_status_success)) function | hipblassrotg_ (handle, a, b, c, s) |
Detailed Description
BLAS Level 1 API.
The rotg functions create the Givens rotation matrix for the vector (a b). Scalars c and s and arrays a and b can be stored in either host or device memory. The 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.
- Supported precisions in rocBLAS :
s,d,c, andz. - Supported precisions in cuBLAS :
s,d,c, andz.
- Parameters
-
[in] handle - [hipblasHandle_t] handle to the hipBLAS library context queue. [in,out] a - device pointer or host pointer to the input vector element, overwritten with r. [in,out] b - device pointer or host pointer to the input vector element, overwritten with z. [in,out] c - device pointer or host pointer to the cosine element of the Givens rotation. [in,out] s - device pointer or host pointer to the sine element of the Givens rotation.
Member Function/Subroutine Documentation
◆ hipblassrotg_()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblassrotg::hipblassrotg_ | ( | 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: