hipblassrotgbatched Interface Reference

hipblassrotgbatched Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblassrotgbatched Interface Reference
hipfort_hipblas::hipblassrotgbatched Interface Reference

BLAS Level 1 API. More...

Public Member Functions

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

Detailed Description

BLAS Level 1 API.

The rotgBatched functions create the Givens rotation matrix for the batched vectors (a_i b_i), for i = 1, ..., batchCount. a, b, c, and s 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, and z.
  • Supported precisions in cuBLAS : No support.
Parameters
[in]handle- [hipblasHandle_t] handle to the hipBLAS library context queue.
[in,out]a- device array of device pointers storing each single input vector element a_i, overwritten with r_i.
[in,out]b- device array of device pointers storing each single input vector element b_i, overwritten with z_i.
[in,out]c- device array of device pointers storing each cosine element of the Givens rotation for the batch.
[in,out]s- device array of device pointers storing each sine element of the Givens rotation for the batch.
[in]batchCount- [int] number of batches (length of arrays a, b, c, and s).

Member Function/Subroutine Documentation

◆ hipblassrotgbatched_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblassrotgbatched::hipblassrotgbatched_ ( 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,
integer(c_int), value  batchcount 
)

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