hipblashgemm Interface Reference#
hipfort_hipblas::hipblashgemm Interface Reference
BLAS Level 3 API. More...
Public Member Functions | |
| integer(kind(hipblas_status_success)) function | hipblashgemm_ (handle, transa, transb, m, n, k, alpha, ap, lda, bp, ldb, beta, cp, ldc) |
Detailed Description
BLAS Level 3 API.
The gemm functions perform one of the matrix-matrix operations:
C = alpha*op( A )*op( B ) + beta*C,
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 matrices, with op( A ) an m by k matrix, op( B ) a k by n matrix, and C an m by n 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] number or rows of matrices op( A ) and C. [in] n - [int] number of columns of matrices op( B ) and C. [in] k - [int] number of columns of matrix op( A ) and number of rows of matrix op( B ). [in] alpha - device pointer or host pointer specifying the scalar alpha. [in] AP - device pointer storing matrix A. [in] lda - [int] specifies the leading dimension of A. [in] BP - device pointer storing matrix B. [in] ldb - [int] specifies the leading dimension of B. [in] beta - device pointer or host pointer specifying the scalar beta. [in,out] CP - device pointer storing matrix C on the GPU. [in] ldc - [int] specifies the leading dimension of C.
Member Function/Subroutine Documentation
◆ hipblashgemm_()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblashgemm::hipblashgemm_ | ( | 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 | ||
| ) |
The documentation for this interface was generated from the following file: