hipblassrotgstridedbatched Interface Reference

hipblassrotgstridedbatched Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblassrotgstridedbatched Interface Reference
hipfort_hipblas::hipblassrotgstridedbatched Interface Reference

BLAS Level 1 API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblassrotgstridedbatched_ (handle, a, stridea, b, strideb, c, stridec, s, strides, batchcount)
 

Detailed Description

BLAS Level 1 API.

The rotgStridedBatched functions create the Givens rotation matrix for the strided 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_HOST, 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 strided_batched pointer or host strided_batched pointer to the first single input vector element a_1, overwritten with r.
[in]stridea- [hipblasStride] distance between elements of a in batch (distance between a_i and a_(i + 1)).
[in,out]b- device strided_batched pointer or host strided_batched pointer to the first single input vector element b_1, overwritten with z.
[in]strideb- [hipblasStride] distance between elements of b in batch (distance between b_i and b_(i + 1)).
[in,out]c- device strided_batched pointer or host strided_batched pointer to the first cosine element of the Givens rotations c_1.
[in]stridec- [hipblasStride] distance between elements of c in batch (distance between c_i and c_(i + 1)).
[in,out]s- device strided_batched pointer or host strided_batched pointer to the sine element of the Givens rotations s_1.
[in]strides- [hipblasStride] distance between elements of s in batch (distance between s_i and s_(i + 1)).
[in]batchCount- [int] number of batches (length of arrays a, b, c, and s).

Member Function/Subroutine Documentation

◆ hipblassrotgstridedbatched_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblassrotgstridedbatched::hipblassrotgstridedbatched_ ( type(c_ptr), value  handle,
type(c_ptr), value  a,
integer(c_int64_t), value  stridea,
type(c_ptr), value  b,
integer(c_int64_t), value  strideb,
type(c_ptr), value  c,
integer(c_int64_t), value  stridec,
type(c_ptr), value  s,
integer(c_int64_t), value  strides,
integer(c_int), value  batchcount 
)

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