rocblas_sasum_batched Interface Reference

rocblas_sasum_batched Interface Reference#

HIPFORT API Reference: hipfort_rocblas::rocblas_sasum_batched Interface Reference
hipfort_rocblas::rocblas_sasum_batched Interface Reference

BLAS Level 1 API. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocblas_sasum_batched_ (handle, n, x, incx, batch_count, results)
 

Detailed Description

BLAS Level 1 API.

The asum_batched functions compute the sum of the magnitudes of the elements in a batch of real vectors x_i or the sum of magnitudes of the real and imaginary parts of elements if x_i is a complex vector, for i = 1, ..., batch_count.

Parameters
[in]handle- [rocblas_handle] handle to the rocBLAS library context queue.
[in]n- [rocblas_int] number of elements in each vector x_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. incx must be > 0.
[in]batch_count- [rocblas_int] number of instances in the batch.
[out]resultsdevice array or host array of batch_count size for results. Return value is 0.0 if n, incx<=0.

Member Function/Subroutine Documentation

◆ rocblas_sasum_batched_()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_sasum_batched::rocblas_sasum_batched_ ( type(c_ptr), value  handle,
integer(c_int), value  n,
type(c_ptr), value  x,
integer(c_int), value  incx,
integer(c_int), value  batch_count,
type(c_ptr), value  results 
)

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