42 USE :: iso_fortran_env
45 INTEGER,
INTENT(IN) :: mtx_size
46 REAL(KIND=c_float),
DIMENSION(mtx_size, mtx_size),
INTENT(IN) :: a, b
47 REAL(KIND=c_float),
DIMENSION(mtx_size, mtx_size),
INTENT(OUT) :: c
59 USE :: iso_fortran_env
62 INTEGER,
INTENT(IN) :: mtx_size
63 INTEGER(C_INT),
DIMENSION(mtx_size, mtx_size),
INTENT(IN) :: A, B
64 INTEGER(C_INT),
DIMENSION(mtx_size, mtx_size),
INTENT(OUT) :: C
78 USE :: iso_fortran_env
82 INTEGER(KIND=C_INT),
INTENT(IN) :: rows_a, cols_a, cols_b
83 INTEGER(KIND=C_INT),
DIMENSION(rows_a, cols_a),
INTENT(IN) :: A
84 INTEGER(KIND=C_INT),
DIMENSION(cols_a, cols_b),
INTENT(IN) :: B
85 INTEGER(KIND=C_INT),
DIMENSION(rows_a, cols_b),
INTENT(OUT) :: C
97 c(j, i) = c(j, i) + a(k, i)*b(j, k)
subroutine mtx_add_routine_float_(A, B, C, mtx_size)
FORTRAN Subroutine for Matrix Addition on flattened matrices as arrays of type float32....
subroutine mtx_mult_routine_int_(A, B, C, rows_a, cols_a, cols_b)
FORTRAN Subroutine for Matrix Multiplication using Fortran intrinsics. Contains C++ wrapper function.
subroutine mtx_add_routine_int_(A, B, C, mtx_size)
FORTRAN Subroutine for Matrix Addition on flattened matrices as arrays of type int32....