Skip to content
Snippets Groups Projects
Commit 1a5843ef authored by ESCOBAR Juan's avatar ESCOBAR Juan
Browse files

Juan 14/09/2020 : tridiag_tke.f90 , OpenACC optimisation -> loop seq + loop gang vector collapse

parent b85839d8
No related branches found
No related tags found
No related merge requests found
......@@ -256,8 +256,9 @@ IF ( PIMPL > 1.E-10 ) THEN
PVARP(JI,JJ,IKB) = ZY(JI,JJ,IKB) / ZBET(JI,JJ)
END DO !CONCURRENT
!
!$acc loop seq
DO JK = IKB+KKL,IKE-KKL,KKL
!$acc loop collapse(2) independent
!$acc loop gang, vector collapse(2) independent
DO JJ=1,JJU
DO JI=1,JIU
ZGAM(JI,JJ,JK) = PIMPL * PA(JI,JJ,JK) / PRHODJ(JI,JJ,JK-KKL) / ZBET(JI,JJ)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment