rocblas_drotmg_strided_batched Interface Reference

rocblas_drotmg_strided_batched Interface Reference#

HIPFORT API Reference: hipfort_rocblas::rocblas_drotmg_strided_batched Interface Reference
hipfort_rocblas::rocblas_drotmg_strided_batched Interface Reference

BLAS Level 1 API. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocblas_drotmg_strided_batched_ (handle, d1, stride_d1, d2, stride_d2, x1, stride_x1, y1, stride_y1, param, stride_param, batch_count)
 

Detailed Description

BLAS Level 1 API.

rotmg_strided_batched creates the modified Givens rotation matrix for the strided batched vectors (d1_i * x1_i, d2_i * y1_i), for i = 1, ..., batch_count. Parameters 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.

Parameters
[in]handle[rocblas_handle] handle to the rocblas library context queue.
[in,out]d1device strided_batched array or host strided_batched array of input scalars that is overwritten.
[in]stride_d1[rocblas_stride] specifies the increment between the beginning of d1_i and d1_(i+1)
[in,out]d2device strided_batched array or host strided_batched array of input scalars that is overwritten.
[in]stride_d2[rocblas_stride] specifies the increment between the beginning of d2_i and d2_(i+1)
[in,out]x1device strided_batched array or host strided_batched array of input scalars that is overwritten.
[in]stride_x1[rocblas_stride] specifies the increment between the beginning of x1_i and x1_(i+1)
[in]y1device strided_batched array or host strided_batched array of input scalars.
[in]stride_y1[rocblas_stride] specifies the increment between the beginning of y1_i and y1_(i+1)
[out]paramdevice strided_batched array or host strided_batched array of vectors of 5 elements defining the rotation. param[0] = flag param[1] = H11 param[2] = H21 param[3] = H12 param[4] = H22 The flag parameter defines the form of H: flag = -1 => H = ( H11 H12 H21 H22 ) flag = 0 => H = ( 1.0 H12 H21 1.0 ) flag = 1 => H = ( H11 1.0 -1.0 H22 ) flag = -2 => H = ( 1.0 0.0 0.0 1.0 ) param may be stored in either host or device memory, location is specified by calling rocblas_set_pointer_mode.
[in]stride_param[rocblas_stride] specifies the increment between the beginning of param_i and param_(i + 1)
[in]batch_count[rocblas_int] the number of instances in the batch.

Member Function/Subroutine Documentation

◆ rocblas_drotmg_strided_batched_()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_drotmg_strided_batched::rocblas_drotmg_strided_batched_ ( type(c_ptr), value  handle,
type(c_ptr), value  d1,
integer(c_int64_t), value  stride_d1,
type(c_ptr), value  d2,
integer(c_int64_t), value  stride_d2,
type(c_ptr), value  x1,
integer(c_int64_t), value  stride_x1,
type(c_ptr), value  y1,
integer(c_int64_t), value  stride_y1,
type(c_ptr), value  param,
integer(c_int64_t), value  stride_param,
integer(c_int), value  batch_count 
)

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