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
Currently the flang frontend will accept the following code. The task modifier on the reduction clause is only valid for certain constructs, and simd is not one of them.
subroutine fred(x)
integer, intent(inout) :: x
!$omp simd reduction(task, +:x)
do i = 1, 100
x = foo(i)
enddo
!$omp end simd
end