hip_gemm Interface

public interface hip_gemm

Subroutines

public subroutine HIP_SGEMM(CTA, CTB, M, N, K, ALPHA, A, LDA, B, LDB, BETA, C, LDC) bind(C,NAME='hipblasSgemm')

Arguments

Type IntentOptional Attributes Name
character(kind=C_CHAR, len=1), VALUE :: CTA
character(kind=C_CHAR, len=1), VALUE :: CTB
integer(kind=C_INT), VALUE :: M
integer(kind=C_INT), VALUE :: N
integer(kind=C_INT), VALUE :: K
real(kind=C_FLOAT), VALUE :: ALPHA
real(kind=C_FLOAT), DIMENSION(LDA,*) :: A
integer(kind=C_INT), VALUE :: LDA
real(kind=C_FLOAT), DIMENSION(LDB,*) :: B
integer(kind=C_INT), VALUE :: LDB
real(kind=C_FLOAT), VALUE :: BETA
real(kind=C_FLOAT), DIMENSION(LDC,*) :: C
integer(kind=C_INT), VALUE :: LDC

public subroutine HIP_DGEMM(CTA, CTB, M, N, K, ALPHA, A, LDA, B, LDB, BETA, C, LDC) bind(C,NAME='hipblasDgemm')

Arguments

Type IntentOptional Attributes Name
character(kind=C_CHAR, len=1), VALUE :: CTA
character(kind=C_CHAR, len=1), VALUE :: CTB
integer(kind=C_INT), VALUE :: M
integer(kind=C_INT), VALUE :: N
integer(kind=C_INT), VALUE :: K
real(kind=C_DOUBLE), VALUE :: ALPHA
real(kind=C_DOUBLE), DIMENSION(LDA,*) :: A
integer(kind=C_INT), VALUE :: LDA
real(kind=C_DOUBLE), DIMENSION(LDB,*) :: B
integer(kind=C_INT), VALUE :: LDB
real(kind=C_DOUBLE), VALUE :: BETA
real(kind=C_DOUBLE), DIMENSION(LDC,*) :: C
integer(kind=C_INT), VALUE :: LDC