Skip to content

Commit

Permalink
Ensure ISTA and ILEN are on device
Browse files Browse the repository at this point in the history
They were treated as `PRESENT` but weren't actually on the device before.
  • Loading branch information
samhatfield authored and wdeconinck committed Sep 11, 2023
1 parent 8ee8d90 commit 20fd0ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trans/gpu/internal/trltom_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ END FUNCTION ALLTOALLV_CUDAIPC
!$OMP& SHARED(ISTA,ILEN,PFBUF,PFBUF_IN)
#endif
#ifdef ACCGPU
!$ACC PARALLEL LOOP DEFAULT(NONE) PRESENT(ISTA,ILEN,PFBUF,PFBUF_IN)
!$ACC PARALLEL LOOP DEFAULT(NONE) PRESENT(PFBUF,PFBUF_IN) COPYIN(ISTA,ILEN)
#endif
DO J=ISTA,ISTA+ILEN-1
PFBUF(J) = PFBUF_IN(J)
Expand Down

0 comments on commit 20fd0ec

Please sign in to comment.