Displaying 2 results from an estimated 2 matches for "rkind".
Did you mean:
kind
2013 Feb 03
0
[LLVMdev] [Polly]
...terday, from the customer's code I observed relatively simple case,
where Polly is unable to detect parallelizable outer loop. Consider two
versions of Fortran routine:
1)
subroutine filter(H, szh, X, szx, Y, szy)
implicit none
integer(kind=IKIND), intent(in) :: szh, szx, szy
real(kind=RKIND), intent(in) :: H(szh), X(szx)
real(kind=RKIND), intent(out) :: Y(szy)
integer(kind=IKIND) :: i, j, i1, i2
integer, parameter :: rkind = RKIND
do i = 1, szy
Y(i) = 0.0_rkind
do j = 1, szh
Y(i) = Y(i) + X(i + j - 1) * H(j)
enddo
enddo
end subroutine filter
2)
subrouti...
2013 Feb 03
2
[LLVMdev] [Polly] Parallelizing outer loop containing inner reduction loop
...relatively simple case,
> where Polly is unable to detect parallelizable outer loop. Consider two
> versions of Fortran routine:
>
> 1)
>
> subroutine filter(H, szh, X, szx, Y, szy)
>
> implicit none
> integer(kind=IKIND), intent(in) :: szh, szx, szy
> real(kind=RKIND), intent(in) :: H(szh), X(szx)
> real(kind=RKIND), intent(out) :: Y(szy)
> integer(kind=IKIND) :: i, j, i1, i2
> integer, parameter :: rkind = RKIND
>
> do i = 1, szy
> Y(i) = 0.0_rkind
> do j = 1, szh
> Y(i) = Y(i) + X(i + j - 1) * H(j)
> enddo...