hipblaszgeambatched Interface Reference

hipblaszgeambatched Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblaszgeambatched Interface Reference
hipfort_hipblas::hipblaszgeambatched Interface Reference

BLAS Level 3 API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblaszgeambatched_ (handle, transa, transb, m, n, alpha, A, lda, beta, B, ldb, C, ldc, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszgeambatched_full_rank (handle, transa, transb, m, n, alpha, A, lda, beta, B, ldb, C, ldc, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszgeambatched_rank_0 (handle, transa, transb, m, n, alpha, A, lda, beta, B, ldb, C, ldc, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszgeambatched_rank_1 (handle, transa, transb, m, n, alpha, A, lda, beta, B, ldb, C, ldc, batchCount)
 

Detailed Description

BLAS Level 3 API.

geamBatched performs 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, and 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
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]alphadevice pointer or host pointer specifying the scalar alpha.
[in]Adevice array of device pointers storing each matrix A_i 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]betadevice pointer or host pointer specifying the scalar beta.
[in]Bdevice array of device pointers storing each matrix B_i 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,out]Cdevice array of device pointers storing each matrix C_i on the GPU. Each C_i is of dimension ( ldc, n ).
[in]ldc[int] specifies the leading dimension of C.
[in]batchCount[int] number of instances i in the batch.

Member Function/Subroutine Documentation

◆ hipblaszgeambatched_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszgeambatched::hipblaszgeambatched_ ( 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,
complex(c_double_complex)  alpha,
type(c_ptr)  A,
integer(c_int), value  lda,
complex(c_double_complex)  beta,
type(c_ptr)  B,
integer(c_int), value  ldb,
type(c_ptr)  C,
integer(c_int), value  ldc,
integer(c_int), value  batchCount 
)

◆ hipblaszgeambatched_full_rank()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszgeambatched::hipblaszgeambatched_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,
complex(c_double_complex)  alpha,
complex(c_double_complex), dimension(:,:,:), target  A,
integer(c_int)  lda,
complex(c_double_complex)  beta,
complex(c_double_complex), dimension(:,:,:), target  B,
integer(c_int)  ldb,
complex(c_double_complex), dimension(:,:,:), target  C,
integer(c_int)  ldc,
integer(c_int)  batchCount 
)

◆ hipblaszgeambatched_rank_0()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszgeambatched::hipblaszgeambatched_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,
complex(c_double_complex)  alpha,
complex(c_double_complex), target  A,
integer(c_int)  lda,
complex(c_double_complex)  beta,
complex(c_double_complex), target  B,
integer(c_int)  ldb,
complex(c_double_complex), target  C,
integer(c_int)  ldc,
integer(c_int)  batchCount 
)

◆ hipblaszgeambatched_rank_1()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszgeambatched::hipblaszgeambatched_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,
complex(c_double_complex)  alpha,
complex(c_double_complex), dimension(:), target  A,
integer(c_int)  lda,
complex(c_double_complex)  beta,
complex(c_double_complex), dimension(:), target  B,
integer(c_int)  ldb,
complex(c_double_complex), dimension(:), target  C,
integer(c_int)  ldc,
integer(c_int)  batchCount 
)

The documentation for this interface was generated from the following file: