hipblaszrotgbatched Interface Reference

hipblaszrotgbatched Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblaszrotgbatched Interface Reference
hipfort_hipblas::hipblaszrotgbatched Interface Reference

BLAS Level 1 API. More...

Public Member Functions

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

Detailed Description

BLAS Level 1 API.

rotgBatched creates the Givens rotation matrix for the batched vectors (a_i b_i), for i = 1, ..., batchCount. a, b, c, and s 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.

Parameters
[in]handle[hipblasHandle_t] handle to the hipblas library context queue.
[in,out]adevice array of device pointers storing each single input vector element a_i, overwritten with r_i.
[in,out]bdevice array of device pointers storing each single input vector element b_i, overwritten with z_i.
[in,out]cdevice array of device pointers storing each cosine element of Givens rotation for the batch.
[in,out]sdevice array of device pointers storing each sine element of Givens rotation for the batch.
[in]batchCount[int] number of batches (length of arrays a, b, c, and s).

Member Function/Subroutine Documentation

◆ hipblaszrotgbatched_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszrotgbatched::hipblaszrotgbatched_ ( 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  batchCount 
)

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