hipblassasumstridedbatched Interface Reference#
hipfort_hipblas::hipblassasumstridedbatched Interface Reference
BLAS Level 1 API. More...
Public Member Functions | |
| integer(kind(hipblas_status_success)) function | hipblassasumstridedbatched_ (handle, n, x, incx, stridex, batchcount, myresult) |
| integer(kind(hipblas_status_success)) function | hipblassasumstridedbatched_rank_0 (handle, n, x, incx, stridex, batchcount, myresult) |
| integer(kind(hipblas_status_success)) function | hipblassasumstridedbatched_rank_1 (handle, n, x, incx, stridex, batchcount, myresult) |
Detailed Description
BLAS Level 1 API.
The asumStridedBatched functions compute the sum of the magnitudes of elements of real vectors x_i, or the sum of the magnitudes of the real and imaginary parts of elements if x_i is a complex vector, for i = 1, ..., batchCount.
- Supported precisions in rocBLAS :
s,d,c, andz. - Supported precisions in cuBLAS : No support.
- Parameters
-
[in] handle - [hipblasHandle_t] handle to the hipBLAS library context queue. [in] n - [int] number of elements in each vector x_i. [in] x - device pointer to the first vector x_1. [in] incx - [int] specifies the increment for the elements of each x_i. incx must be > 0. [in] stridex - [hipblasStride] stride from the start of one vector (x_i) to the next one (x_i+1). There are no restrictions placed on stride_x. However, the user should take care to ensure that stride_x is of an appropriate size. For a typical case, this means stride_x >= n * incx. [in] batchCount - [int] number of instances in the batch. [out] myResult device pointer or host pointer to array for storing contiguous batchCount results. Return value is 0.0 if n, incx<=0.
Member Function/Subroutine Documentation
◆ hipblassasumstridedbatched_()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblassasumstridedbatched::hipblassasumstridedbatched_ | ( | type(c_ptr), value | handle, |
| integer(c_int), value | n, | ||
| type(c_ptr), value | x, | ||
| integer(c_int), value | incx, | ||
| integer(c_int64_t), value | stridex, | ||
| integer(c_int), value | batchcount, | ||
| type(c_ptr), value | myresult | ||
| ) |
◆ hipblassasumstridedbatched_rank_0()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblassasumstridedbatched::hipblassasumstridedbatched_rank_0 | ( | type(c_ptr) | handle, |
| integer(c_int) | n, | ||
| real(c_float), target | x, | ||
| integer(c_int) | incx, | ||
| integer(c_int64_t) | stridex, | ||
| integer(c_int) | batchcount, | ||
| type(c_ptr) | myresult | ||
| ) |
◆ hipblassasumstridedbatched_rank_1()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblassasumstridedbatched::hipblassasumstridedbatched_rank_1 | ( | type(c_ptr) | handle, |
| integer(c_int) | n, | ||
| real(c_float), dimension(:), target | x, | ||
| integer(c_int) | incx, | ||
| integer(c_int64_t) | stridex, | ||
| integer(c_int) | batchcount, | ||
| type(c_ptr) | myresult | ||
| ) |
The documentation for this interface was generated from the following file: