hipblassgeamstridedbatched Interface Reference#
hipfort_hipblas::hipblassgeamstridedbatched Interface Reference
BLAS Level 3 API. More...
Public Member Functions | |
| integer(kind(hipblas_status_success)) function | hipblassgeamstridedbatched_ (handle, transa, transb, m, n, alpha, ap, lda, stridea, beta, bp, ldb, strideb, cp, ldc, stridec, batchcount) |
| integer(kind(hipblas_status_success)) function | hipblassgeamstridedbatched_rank_0 (handle, transa, transb, m, n, alpha, ap, lda, stridea, beta, bp, ldb, strideb, cp, ldc, stridec, batchcount) |
| integer(kind(hipblas_status_success)) function | hipblassgeamstridedbatched_rank_1 (handle, transa, transb, m, n, alpha, ap, lda, stridea, beta, bp, ldb, strideb, cp, ldc, stridec, batchcount) |
| integer(kind(hipblas_status_success)) function | hipblassgeamstridedbatched_full_rank (handle, transa, transb, m, n, alpha, ap, lda, stridea, beta, bp, ldb, strideb, cp, ldc, stridec, batchcount) |
Detailed Description
BLAS Level 3 API.
The geamStridedBatched functions perform one of the batched matrix-matrix operations:
C_i = alpha*op( A_i ) + beta*op( B_i ) for i = 0, 1, ... batchCount - 1
where alpha and beta are scalars, op(A_i), op(B_i), and C_i are m by n matrices, and op( X ) is one of:
op( X ) = X or op( X ) = X**T
- 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] transA - [hipblasOperation_t] specifies the form of op( A ). [in] transB - [hipblasOperation_t] specifies the form of op( B ). [in] m - [int] matrix dimension m. [in] n - [int] matrix dimension n. [in] alpha - device pointer or host pointer specifying the scalar alpha. [in] AP - device pointer to the first matrix A_0 on the GPU. Each A_i is of dimension ( lda, k ), where k is m when transA == HIPBLAS_OP_N and is n when transA == HIPBLAS_OP_T. [in] lda - [int] specifies the leading dimension of A. [in] strideA - [hipblasStride] stride from the start of one matrix (A_i) to the next one (A_i+1). [in] beta - device pointer or host pointer specifying the scalar beta. [in] BP - pointer to the first matrix B_0 on the GPU. Each B_i is of dimension ( ldb, k ), where k is m when transB == HIPBLAS_OP_N and is n when transB == HIPBLAS_OP_T. [in] ldb - [int] specifies the leading dimension of B. [in] strideB - [hipblasStride] stride from the start of one matrix (B_i) to the next one (B_i+1). [in,out] CP - pointer to the first matrix C_0 on the GPU. Each C_i is of dimension ( ldc, n ). [in] ldc - [int] specifies the leading dimension of C. [in] strideC - [hipblasStride] stride from the start of one matrix (C_i) to the next one (C_i+1). [in] batchCount - [int] number of instances i in the batch.
Member Function/Subroutine Documentation
◆ hipblassgeamstridedbatched_()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblassgeamstridedbatched::hipblassgeamstridedbatched_ | ( | type(c_ptr), value | handle, |
| integer(kind(hipblas_op_n)), value | transa, | ||
| integer(kind(hipblas_op_n)), value | transb, | ||
| integer(c_int), value | m, | ||
| integer(c_int), value | n, | ||
| real(c_float) | alpha, | ||
| type(c_ptr), value | ap, | ||
| integer(c_int), value | lda, | ||
| integer(c_int64_t), value | stridea, | ||
| real(c_float) | beta, | ||
| type(c_ptr), value | bp, | ||
| integer(c_int), value | ldb, | ||
| integer(c_int64_t), value | strideb, | ||
| type(c_ptr), value | cp, | ||
| integer(c_int), value | ldc, | ||
| integer(c_int64_t), value | stridec, | ||
| integer(c_int), value | batchcount | ||
| ) |
◆ hipblassgeamstridedbatched_full_rank()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblassgeamstridedbatched::hipblassgeamstridedbatched_full_rank | ( | type(c_ptr) | handle, |
| integer(kind(hipblas_op_n)) | transa, | ||
| integer(kind(hipblas_op_n)) | transb, | ||
| integer(c_int) | m, | ||
| integer(c_int) | n, | ||
| real(c_float) | alpha, | ||
| real(c_float), dimension(:,:), target | ap, | ||
| integer(c_int) | lda, | ||
| integer(c_int64_t) | stridea, | ||
| real(c_float) | beta, | ||
| real(c_float), dimension(:,:), target | bp, | ||
| integer(c_int) | ldb, | ||
| integer(c_int64_t) | strideb, | ||
| real(c_float), dimension(:,:), target | cp, | ||
| integer(c_int) | ldc, | ||
| integer(c_int64_t) | stridec, | ||
| integer(c_int) | batchcount | ||
| ) |
◆ hipblassgeamstridedbatched_rank_0()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblassgeamstridedbatched::hipblassgeamstridedbatched_rank_0 | ( | type(c_ptr) | handle, |
| integer(kind(hipblas_op_n)) | transa, | ||
| integer(kind(hipblas_op_n)) | transb, | ||
| integer(c_int) | m, | ||
| integer(c_int) | n, | ||
| real(c_float) | alpha, | ||
| real(c_float), target | ap, | ||
| integer(c_int) | lda, | ||
| integer(c_int64_t) | stridea, | ||
| real(c_float) | beta, | ||
| real(c_float), target | bp, | ||
| integer(c_int) | ldb, | ||
| integer(c_int64_t) | strideb, | ||
| real(c_float), target | cp, | ||
| integer(c_int) | ldc, | ||
| integer(c_int64_t) | stridec, | ||
| integer(c_int) | batchcount | ||
| ) |
◆ hipblassgeamstridedbatched_rank_1()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblassgeamstridedbatched::hipblassgeamstridedbatched_rank_1 | ( | type(c_ptr) | handle, |
| integer(kind(hipblas_op_n)) | transa, | ||
| integer(kind(hipblas_op_n)) | transb, | ||
| integer(c_int) | m, | ||
| integer(c_int) | n, | ||
| real(c_float) | alpha, | ||
| real(c_float), dimension(:), target | ap, | ||
| integer(c_int) | lda, | ||
| integer(c_int64_t) | stridea, | ||
| real(c_float) | beta, | ||
| real(c_float), dimension(:), target | bp, | ||
| integer(c_int) | ldb, | ||
| integer(c_int64_t) | strideb, | ||
| real(c_float), dimension(:), target | cp, | ||
| integer(c_int) | ldc, | ||
| integer(c_int64_t) | stridec, | ||
| integer(c_int) | batchcount | ||
| ) |
The documentation for this interface was generated from the following file: