Skip to content

Commit

Permalink
minor bug fix and tested on AMD GPU on archer2
Browse files Browse the repository at this point in the history
  • Loading branch information
fangjian authored and fangjian committed Feb 20, 2024
1 parent f4914ef commit 3b3a467
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions miniapps/tgv_solver_3d/tgvsolver_oacc.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,7 @@ subroutine rk3(comptime)
!
do rkstep=1,3
!
!$acc parallel loop collapse(4) present(q)
!$acc parallel loop collapse(4) present(qrhs)
do m=1,numq
do k=0,km
do j=0,jm
Expand Down Expand Up @@ -1308,7 +1308,7 @@ subroutine mainloop
!
!$acc data copy(qrhs,q,qsave,rho,vel,tmp,prs,dvel,dtmp,sigma,qflux )
!
do while(nstep<20001)
do while(nstep<101)
!
call rk3(ctime(2))
!
Expand Down

0 comments on commit 3b3a467

Please sign in to comment.