rocblas_sgeam_strided_batched Interface Reference

rocblas_sgeam_strided_batched Interface Reference#

HIPFORT API Reference: hipfort_rocblas::rocblas_sgeam_strided_batched Interface Reference
hipfort_rocblas::rocblas_sgeam_strided_batched Interface Reference

BLAS Level 3 API. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocblas_sgeam_strided_batched_ (handle, transa, transb, m, n, alpha, a, lda, stride_a, beta, b, ldb, stride_b, c, ldc, stride_c, batch_count)
 
integer(kind(rocblas_status_success)) function rocblas_sgeam_strided_batched_rank_0 (handle, transa, transb, m, n, alpha, a, lda, stride_a, beta, b, ldb, stride_b, c, ldc, stride_c, batch_count)
 
integer(kind(rocblas_status_success)) function rocblas_sgeam_strided_batched_rank_1 (handle, transa, transb, m, n, alpha, a, lda, stride_a, beta, b, ldb, stride_b, c, ldc, stride_c, batch_count)
 
integer(kind(rocblas_status_success)) function rocblas_sgeam_strided_batched_full_rank (handle, transa, transb, m, n, alpha, a, lda, stride_a, beta, b, ldb, stride_b, c, ldc, stride_c, batch_count)
 

Detailed Description

BLAS Level 3 API.

The geam_strided_batched functions perform one of the batched matrix-matrix operations:

C_i = alpha*op( A_i ) + beta*op( B_i )  for i = 0, 1, ... batch_count - 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
Parameters
[in]handle- [rocblas_handle] handle to the rocBLAS library context queue.
[in]transA- [rocblas_operation] specifies the form of op( A ).
[in]transB- [rocblas_operation] specifies the form of op( B ).
[in]m- [rocblas_int] matrix dimension m.
[in]n- [rocblas_int] matrix dimension n.
[in]alpha- device pointer or host pointer specifying the scalar alpha.
[in]A- 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 == rocblas_operation_none and is n when transA == rocblas_operation_transpose.
[in]lda- [rocblas_int] specifies the leading dimension of A.
[in]stride_A- [rocblas_stride] 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]B- pointer to the first matrix B_0 on the GPU. Each B_i is of dimension ( ldb, k ), where k is m when transB == rocblas_operation_none and is n when transB == rocblas_operation_transpose.
[in]ldb- [rocblas_int] specifies the leading dimension of B.
[in]stride_B- [rocblas_stride] stride from the start of one matrix (B_i) to the next one (B_i+1).
[in,out]C- pointer to the first matrix C_0 on the GPU. Each C_i is of dimension ( ldc, n ).
[in]ldc- [rocblas_int] specifies the leading dimension of C.
[in]stride_C- [rocblas_stride] stride from the start of one matrix (C_i) to the next one (C_i+1).
[in]batch_count- [rocblas_int] number of instances i in the batch.

Member Function/Subroutine Documentation

◆ rocblas_sgeam_strided_batched_()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_sgeam_strided_batched::rocblas_sgeam_strided_batched_ ( type(c_ptr), value  handle,
integer(kind(rocblas_operation_none)), value  transa,
integer(kind(rocblas_operation_none)), value  transb,
integer(c_int), value  m,
integer(c_int), value  n,
real(c_float)  alpha,
type(c_ptr), value  a,
integer(c_int), value  lda,
integer(c_int64_t), value  stride_a,
real(c_float)  beta,
type(c_ptr), value  b,
integer(c_int), value  ldb,
integer(c_int64_t), value  stride_b,
type(c_ptr), value  c,
integer(c_int), value  ldc,
integer(c_int64_t), value  stride_c,
integer(c_int), value  batch_count 
)

◆ rocblas_sgeam_strided_batched_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_sgeam_strided_batched::rocblas_sgeam_strided_batched_full_rank ( type(c_ptr)  handle,
integer(kind(rocblas_operation_none))  transa,
integer(kind(rocblas_operation_none))  transb,
integer(c_int)  m,
integer(c_int)  n,
real(c_float)  alpha,
real(c_float), dimension(:,:), target  a,
integer(c_int)  lda,
integer(c_int64_t)  stride_a,
real(c_float)  beta,
real(c_float), dimension(:,:), target  b,
integer(c_int)  ldb,
integer(c_int64_t)  stride_b,
real(c_float), dimension(:,:), target  c,
integer(c_int)  ldc,
integer(c_int64_t)  stride_c,
integer(c_int)  batch_count 
)

◆ rocblas_sgeam_strided_batched_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_sgeam_strided_batched::rocblas_sgeam_strided_batched_rank_0 ( type(c_ptr)  handle,
integer(kind(rocblas_operation_none))  transa,
integer(kind(rocblas_operation_none))  transb,
integer(c_int)  m,
integer(c_int)  n,
real(c_float)  alpha,
real(c_float), target  a,
integer(c_int)  lda,
integer(c_int64_t)  stride_a,
real(c_float)  beta,
real(c_float), target  b,
integer(c_int)  ldb,
integer(c_int64_t)  stride_b,
real(c_float), target  c,
integer(c_int)  ldc,
integer(c_int64_t)  stride_c,
integer(c_int)  batch_count 
)

◆ rocblas_sgeam_strided_batched_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_sgeam_strided_batched::rocblas_sgeam_strided_batched_rank_1 ( type(c_ptr)  handle,
integer(kind(rocblas_operation_none))  transa,
integer(kind(rocblas_operation_none))  transb,
integer(c_int)  m,
integer(c_int)  n,
real(c_float)  alpha,
real(c_float), dimension(:), target  a,
integer(c_int)  lda,
integer(c_int64_t)  stride_a,
real(c_float)  beta,
real(c_float), dimension(:), target  b,
integer(c_int)  ldb,
integer(c_int64_t)  stride_b,
real(c_float), dimension(:), target  c,
integer(c_int)  ldc,
integer(c_int64_t)  stride_c,
integer(c_int)  batch_count 
)

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