Skip to content

Commit

Permalink
UVAL seems appropriate here. See OpenMP 4.5 page 209--210.
Browse files Browse the repository at this point in the history
  • Loading branch information
aadler committed Jun 9, 2024
1 parent ee78350 commit 1351d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.f90
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ end subroutine sOMPT_f
!-------------------------------------------------------------------------------

pure elemental function imk(i, k) result(j)
!$omp declare simd(imk) notinbranch linear(i:1) uniform(k)
!$omp declare simd(imk) linear(uval(i):1) uniform(k) notinbranch

integer(kind = c_int), intent(in) :: i, k
integer(kind = c_int) :: j
Expand Down

0 comments on commit 1351d71

Please sign in to comment.