You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ability to detect data dependency in loops would be nice for the automatic generation of directive. In the example below, if we can detect that the i loop has no dependency, we can generate a !$acc loop directive instead of locking it with an !$acc loop seq directive.
do i =1, ni
do k =1, nk
end dodo k =1, nk
end dodo k =1, nk
end doend do
!$acc loop
do i =1, ni
!$acc loop seq
do k =1, nk
end do
!$acc loop seq
do k =1, nk
end do
!$acc loop seq
do k =1, nk
end doend do
The text was updated successfully, but these errors were encountered:
Ability to detect data dependency in loops would be nice for the automatic generation of directive. In the example below, if we can detect that the
i
loop has no dependency, we can generate a!$acc loop
directive instead of locking it with an!$acc loop seq
directive.The text was updated successfully, but these errors were encountered: