rocblas_srotg_strided_batched Interface Reference

rocblas_srotg_strided_batched Interface Reference#

hipFORT API Reference: hipfort_rocblas::rocblas_srotg_strided_batched Interface Reference
hipfort_rocblas::rocblas_srotg_strided_batched Interface Reference

BLAS Level 1 API. More...

Public Member Functions

integer(c_int) function rocblas_srotg_strided_batched_ (handle, a, stride_a, b, stride_b, c, stride_c, s, stride_s, batch_count)
 

Detailed Description

BLAS Level 1 API.

The rotg_strided_batched functions create the Givens rotation matrix for the strided batched vectors (a_i b_i), for i = 1, ..., batch_count. a, b, c, and s are host pointers to arrays a, b, c, and s on the device.

Parameters
[in]handle- [rocblas_handle] handle to the rocBLAS library context queue.
[in,out]a- host pointer to first single input vector element a_1 on the device, overwritten with r.
[in]stride_a- [rocblas_stride] distance between elements of a in batch (distance between a_i and a_(i + 1)).
[in,out]b- host pointer to first single input vector element b_1 on the device, overwritten with z.
[in]stride_b- [rocblas_stride] distance between elements of b in batch (distance between b_i and b_(i + 1)).
[out]c- host pointer to first single cosine element of the Givens rotations c_1 on the device.
[in]stride_c- [rocblas_stride] distance between elements of c in batch (distance between c_i and c_(i + 1)).
[out]s- host pointer to first single sine element of the Givens rotations s_1 on the device.
[in]stride_s- [rocblas_stride] distance between elements of s in batch (distance between s_i and s_(i + 1)).
[in]batch_count- [rocblas_int] number of batches (length of arrays a, b, c, and s).

Member Function/Subroutine Documentation

◆ rocblas_srotg_strided_batched_()

integer(c_int) function hipfort_rocblas::rocblas_srotg_strided_batched::rocblas_srotg_strided_batched_ ( type(c_ptr), value  handle,
type(c_ptr), value  a,
integer(c_int64_t), value  stride_a,
type(c_ptr), value  b,
integer(c_int64_t), value  stride_b,
type(c_ptr), value  c,
integer(c_int64_t), value  stride_c,
type(c_ptr), value  s,
integer(c_int64_t), value  stride_s,
integer(c_int), value  batch_count 
)

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