mv_ATv_8 Subroutine

private pure subroutine mv_ATv_8(A, v, w)

Arguments

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

Called by

proc~~mv_atv_8~~CalledByGraph proc~mv_atv_8 formatmul_opts::mv_ATv_8 proc~mat_vec_rel_atv_opt formatmul_opts::mat_vec_rel_ATv_opt proc~mat_vec_rel_atv_opt->proc~mv_atv_8 proc~mat_vec_rel_atv formatmul::mat_vec_rel_ATv proc~mat_vec_rel_atv->proc~mat_vec_rel_atv_opt proc~mat_vec_rel formatmul::mat_vec_rel proc~mat_vec_rel->proc~mat_vec_rel_atv interface~matmul formatmul::matmul interface~matmul->proc~mat_vec_rel

Source Code

   pure subroutine mv_ATv_8(A, v, w)
      real(rk), intent(in), contiguous :: A(:,:), v(:)
      real(rk), intent(inout), contiguous :: w(:)
      integer :: m, n
      integer :: i, j

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

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

      !   do concurrent(i=1:m) shared(m, n, a, v) ! check shared variables
      !      do j=1,n
      !         w(i) = w(i) + a(j,i)*v(j)
      !      end do
      !   end do

   end subroutine mv_ATv_8