mm_ABT_11 Subroutine

private pure subroutine mm_ABT_11(A, B, C)

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), contiguous :: A(:,:)
real(kind=rk), intent(in), contiguous :: B(:,:)
real(kind=rk), intent(inout), contiguous :: C(:,:)

Called by

proc~~mm_abt_11~~CalledByGraph proc~mm_abt_11 formatmul_opts::mm_ABT_11 proc~mat_mat_rel_abt_opt formatmul_opts::mat_mat_rel_ABT_opt proc~mat_mat_rel_abt_opt->proc~mm_abt_11 proc~mat_mat_rel_abt formatmul::mat_mat_rel_ABT proc~mat_mat_rel_abt->proc~mat_mat_rel_abt_opt proc~mat_mat_rel formatmul::mat_mat_rel proc~mat_mat_rel->proc~mat_mat_rel_abt interface~matmul formatmul::matmul interface~matmul->proc~mat_mat_rel

Source Code

   pure subroutine mm_ABT_11(A, B, C)
      real(rk), intent(in), contiguous :: A(:,:), B(:,:)
      real(rk), intent(inout), contiguous :: C(:,:)
      integer :: m, n, p
      integer :: i, j, k

      m = size(A,1)
      n = size(A,2)
      p = size(B,1)

      error stop 'ForMatMul: shared is not supported in gfortran'

      !    do concurrent (i = 1: p) shared(m, n, p) ! check shared variables
      !         do j=1,n
      !             do k=1,m
      !                 c(k,i) = c(k,i) + a(k,j)*b(i,j)
      !             end do
      !         end do
      !     end do

   end subroutine mm_ABT_11