rocblas_snrm2_batched Interface Reference#
hipfort_rocblas::rocblas_snrm2_batched Interface Reference
BLAS Level 1 API. More...
Public Member Functions | |
| integer(kind(rocblas_status_success)) function | rocblas_snrm2_batched_ (handle, n, x, incx, batch_count, results) |
Detailed Description
BLAS Level 1 API.
The nrm2_batched functions compute the Euclidean norm over a batch of real or complex vectors:
result := sqrt( x_i'*x_i ) for real vectors x, for i = 1, ..., batch_count result := sqrt( x_i**H*x_i ) for complex vectors x, 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 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] results device pointer or host pointer to array of batch_count size for nrm2 results. Return value is 0.0 for each element if n <= 0, incx<=0.
Member Function/Subroutine Documentation
◆ rocblas_snrm2_batched_()
| integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_snrm2_batched::rocblas_snrm2_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: