rocblas_zrotg_batched Interface Reference#
hipfort_rocblas::rocblas_zrotg_batched Interface Reference
! More...
Public Member Functions | |
| integer(kind(rocblas_status_success)) function | rocblas_zrotg_batched_orig (handle, a, b, c, s, batch_count) |
Detailed Description
!
BLAS Level 1 API
\details
rotg_batched creates the Givens rotation matrix for the batched vectors (a_i b_i), for i = 1, ..., batch_count.
a, b, c, and s may be stored in either host or device memory, location is specified by calling rocblas_set_pointer_mode.
If the pointer mode is set to rocblas_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 rocblas_pointer_mode_device, this function returns immediately and synchronization is required to read the results.
@param[in]
handle [rocblas_handle]
handle to the rocblas library context queue.
@param[inout]
a device array of device pointers storing each single input vector element a_i, overwritten with r_i.
@param[inout]
b device array of device pointers storing each single input vector element b_i, overwritten with z_i.
@param[inout]
c device array of device pointers storing each cosine element of Givens rotation for the batch.
@param[inout]
s device array of device pointers storing each sine element of Givens rotation for the batch.
@param[in]
batch_count [rocblas_int]
number of batches (length of arrays a, b, c, and s).
Member Function/Subroutine Documentation
◆ rocblas_zrotg_batched_orig()
| integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_zrotg_batched::rocblas_zrotg_batched_orig | ( | type(c_ptr), value | handle, |
| type(c_ptr) | a, | ||
| type(c_ptr) | b, | ||
| type(c_ptr) | c, | ||
| type(c_ptr) | s, | ||
| integer(c_int), value | batch_count | ||
| ) |
The documentation for this interface was generated from the following file: