57. 正确的INDEPENDENT 断言实例 |
!HPF$ INDEPENDENT
FORALL ( i=2:n-1) a(i)=b(i-1)+b(i)+b(i+1)
!HPF$ INDEPENDENT, NEW(j)
DO k = 2, m-1, 2
!HPF$ INDEPENDENT, NEW(vl,vr)
DO j = 2, n-1, 2
vr = x(j,k) - x(j-1,k)
vl = x(j+1,k) - x(j,k)
x(j,k) = x(j,k) + 0.5*(vr-vl)
END DO
END DO
Copyright: NPACT |