hipblashgemmbatched Interface Reference#
hipfort_hipblas::hipblashgemmbatched Interface Reference
BLAS Level 3 API. More...
Public Member Functions | |
| integer(kind(hipblas_status_success)) function | hipblashgemmbatched_ (handle, transa, transb, m, n, k, alpha, ap, lda, bp, ldb, beta, cp, ldc, batchcount) |
Detailed Description
BLAS Level 3 API.
The gemmBatched functions perform one of the batched matrix-matrix operations:
C_i = alpha*op( A_i )*op( B_i ) + beta*C_i, for i = 1, ..., batchCount.
where op( X ) is one of:
op( X ) = X or op( X ) = X**T or op( X ) = X**H,
alpha and beta are scalars, and A, B , and C are strided batched matrices, with op( A ) an m by k by batchCount strided_batched matrix, op( B ) a k by n by batchCount strided_batched matrix, and C an m by n by batchCount strided_batched matrix.
- Supported precisions in rocBLAS :
h,s,d,c, andz. - Supported precisions in cuBLAS :
h,s,d,c, andz.
- 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] k - [int] matrix dimension k. [in] alpha - device pointer or host pointer specifying the scalar alpha. [in] AP - device array of device pointers storing each matrix A_i. [in] lda - [int] specifies the leading dimension of each A_i. [in] BP - device array of device pointers storing each matrix B_i. [in] ldb - [int] specifies the leading dimension of each B_i. [in] beta - device pointer or host pointer specifying the scalar beta. [in,out] CP - device array of device pointers storing each matrix C_i. [in] ldc - [int] specifies the leading dimension of each C_i. [in] batchCount [int] number of gemm operations in the batch.
Member Function/Subroutine Documentation
◆ hipblashgemmbatched_()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblashgemmbatched::hipblashgemmbatched_ | ( | 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, | ||
| integer(c_int), value | k, | ||
| type(c_ptr), value | alpha, | ||
| type(c_ptr), value | ap, | ||
| integer(c_int), value | lda, | ||
| type(c_ptr), value | bp, | ||
| integer(c_int), value | ldb, | ||
| type(c_ptr), value | beta, | ||
| type(c_ptr), value | cp, | ||
| integer(c_int), value | ldc, | ||
| integer(c_int), value | batchcount | ||
| ) |
The documentation for this interface was generated from the following file: