hipblassgeam Interface Reference#
hipfort_hipblas::hipblassgeam Interface Reference
BLAS Level 3 API. More...
Public Member Functions | |
| integer(kind(hipblas_status_success)) function | hipblassgeam_ (handle, transa, transb, m, n, alpha, ap, lda, beta, bp, ldb, cp, ldc) |
| integer(kind(hipblas_status_success)) function | hipblassgeam_rank_0 (handle, transa, transb, m, n, alpha, ap, lda, beta, bp, ldb, cp, ldc) |
| integer(kind(hipblas_status_success)) function | hipblassgeam_rank_1 (handle, transa, transb, m, n, alpha, ap, lda, beta, bp, ldb, cp, ldc) |
| integer(kind(hipblas_status_success)) function | hipblassgeam_full_rank (handle, transa, transb, m, n, alpha, ap, lda, beta, bp, ldb, cp, ldc) |
Detailed Description
BLAS Level 3 API.
The geam functions perform one of the matrix-matrix operations:
C = alpha*op( A ) + beta*op( B ),
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 n matrix, op( B ) an m byn matrix, and C an m by n matrix.
- Supported precisions in rocBLAS :
s,d,c, andz. - Supported precisions in cuBLAS :
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] 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] beta - device pointer or host pointer specifying the scalar beta. [in] BP - device pointer storing matrix B. [in] ldb - [int] specifies the leading dimension of B. [in,out] CP - device pointer storing matrix C. [in] ldc - [int] specifies the leading dimension of C.
Member Function/Subroutine Documentation
◆ hipblassgeam_()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblassgeam::hipblassgeam_ | ( | 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, | ||
| real(c_float) | beta, | ||
| type(c_ptr), value | bp, | ||
| integer(c_int), value | ldb, | ||
| type(c_ptr), value | cp, | ||
| integer(c_int), value | ldc | ||
| ) |
◆ hipblassgeam_full_rank()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblassgeam::hipblassgeam_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, | ||
| real(c_float) | beta, | ||
| real(c_float), dimension(:,:), target | bp, | ||
| integer(c_int) | ldb, | ||
| real(c_float), dimension(:,:), target | cp, | ||
| integer(c_int) | ldc | ||
| ) |
◆ hipblassgeam_rank_0()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblassgeam::hipblassgeam_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, | ||
| real(c_float) | beta, | ||
| real(c_float), target | bp, | ||
| integer(c_int) | ldb, | ||
| real(c_float), target | cp, | ||
| integer(c_int) | ldc | ||
| ) |
◆ hipblassgeam_rank_1()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblassgeam::hipblassgeam_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, | ||
| real(c_float) | beta, | ||
| real(c_float), dimension(:), target | bp, | ||
| integer(c_int) | ldb, | ||
| real(c_float), dimension(:), target | cp, | ||
| integer(c_int) | ldc | ||
| ) |
The documentation for this interface was generated from the following file: