rocblas_sdot_batched Interface Reference#
hipfort_rocblas::rocblas_sdot_batched Interface Reference
BLAS Level 1 API. More...
Public Member Functions | |
| integer(kind(rocblas_status_success)) function | rocblas_sdot_batched_ (handle, n, x, incx, y, incy, batch_count, myresult) |
Detailed Description
BLAS Level 1 API.
The dot_batched(u) functions perform a batch of dot products of vectors x and y:
result_i = x_i * y_i;
The dotc_batched functions performs a batch of dot products of the conjugate of complex vector x and complex vectory:
result_i = conjugate (x_i) * y_i;
where (x_i, y_i) is the i-th instance of the batch and x_i and y_i are vectors, for i = 1, ..., batch_count.
- Parameters
-
[in] handle - [rocblas_handle] handle to the rocBLAS library context queue. [in] n - [rocblas_int] the number of elements in each x_i and y_i. [in] x - device array of device pointers storing each vector x_i. [in] incx - [rocblas_int] specifies the increment for the elements of each x_i. [in] y - device array of device pointers storing each vector y_i. [in] incy - [rocblas_int] specifies the increment for the elements of each y_i. [in] batch_count - [rocblas_int] number of instances in the batch. [in,out] myResult device array or host array of batch_count size to store the dot products of each batch. Return 0.0 for each element if n <= 0.
Member Function/Subroutine Documentation
◆ rocblas_sdot_batched_()
| integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_sdot_batched::rocblas_sdot_batched_ | ( | type(c_ptr), value | handle, |
| integer(c_int), value | n, | ||
| type(c_ptr), value | x, | ||
| integer(c_int), value | incx, | ||
| type(c_ptr), value | y, | ||
| integer(c_int), value | incy, | ||
| integer(c_int), value | batch_count, | ||
| type(c_ptr), value | myresult | ||
| ) |
The documentation for this interface was generated from the following file: