hipblasscopystridedbatched Interface Reference#
hipfort_hipblas::hipblasscopystridedbatched Interface Reference
BLAS Level 1 API. More...
Public Member Functions | |
| integer(kind(hipblas_status_success)) function | hipblasscopystridedbatched_ (handle, n, x, incx, stridex, y, incy, stridey, batchcount) |
| integer(kind(hipblas_status_success)) function | hipblasscopystridedbatched_rank_0 (handle, n, x, incx, stridex, y, incy, stridey, batchcount) |
| integer(kind(hipblas_status_success)) function | hipblasscopystridedbatched_rank_1 (handle, n, x, incx, stridex, y, incy, stridey, batchcount) |
Detailed Description
BLAS Level 1 API.
The copyStridedBatched functions copy each element x_i[j] into y_i[j], for j = 1 , ... , n; i = 1 , ... , batchCount.
y_i := x_i,
where (x_i, y_i) is the i-th instance of the batch. x_i and y_i are vectors.
- 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] the number of elements in each x_i to be copied to y_i. [in] x - device pointer to the first vector (x_1) in the batch. [in] incx - [int] specifies the increments for the elements of vectors x_i. [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 stridex. However, the user should ensure that stridex is of an appropriate size. For a typical case, this means stridex >= n * incx. [out] y - device pointer to the first vector (y_1) in the batch. [in] incy - [int] specifies the increment for the elements of vectors y_i. [in] stridey - [hipblasStride] stride from the start of one vector (y_i) to the next one (y_i+1). There are no restrictions placed on stridey. However, the user should ensure that stridey is of an appropriate size. For a typical case this means stridey >= n * incy. stridey should be non zero. [in] batchCount - [int] number of instances in the batch.
Member Function/Subroutine Documentation
◆ hipblasscopystridedbatched_()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasscopystridedbatched::hipblasscopystridedbatched_ | ( | 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, | ||
| type(c_ptr), value | y, | ||
| integer(c_int), value | incy, | ||
| integer(c_int64_t), value | stridey, | ||
| integer(c_int), value | batchcount | ||
| ) |
◆ hipblasscopystridedbatched_rank_0()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasscopystridedbatched::hipblasscopystridedbatched_rank_0 | ( | type(c_ptr) | handle, |
| integer(c_int) | n, | ||
| real(c_float), target | x, | ||
| integer(c_int) | incx, | ||
| integer(c_int64_t) | stridex, | ||
| real(c_float), target | y, | ||
| integer(c_int) | incy, | ||
| integer(c_int64_t) | stridey, | ||
| integer(c_int) | batchcount | ||
| ) |
◆ hipblasscopystridedbatched_rank_1()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasscopystridedbatched::hipblasscopystridedbatched_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, | ||
| real(c_float), dimension(:), target | y, | ||
| integer(c_int) | incy, | ||
| integer(c_int64_t) | stridey, | ||
| integer(c_int) | batchcount | ||
| ) |
The documentation for this interface was generated from the following file: