@@ -298,7 +298,11 @@ contains
298298 !! @param rhoe mixture energy
299299 !! @param TS equilibrium temperature at the interface
300300 subroutine s_infinite_pt_relaxation_k (j , k , l , MFL , pS , p_infpT , rM , q_cons_vf , rhoe , TS )
301+ #ifdef CRAY_ACC_WAR
302+ !DIR$ INLINEALWAYS s_compute_speed_of_sound
303+ #else
301304 !$acc routine seq
305+ #endif
302306
303307 ! initializing variables
304308 integer , intent (in ) :: j, k, l, MFL
@@ -402,7 +406,11 @@ contains
402406 !! @param TS equilibrium temperature at the interface
403407 subroutine s_infinite_ptg_relaxation_k (j , k , l , pS , p_infpT , rhoe , q_cons_vf , TS )
404408
409+ #ifdef CRAY_ACC_WAR
410+ !DIR$ INLINEALWAYS s_infinite_ptg_relaxation_k
411+ #else
405412 !$acc routine seq
413+ #endif
406414
407415 integer , intent (in ) :: j, k, l
408416 real (kind (0.0d0 )), intent (inout ) :: pS
@@ -522,7 +530,11 @@ contains
522530 !! @param k generic loop iterator for y direction
523531 !! @param l generic loop iterator for z direction
524532 subroutine s_correct_partial_densities(MCT, q_cons_vf, rM, j, k, l)
533+ #ifdef CRAY_ACC_WAR
534+ !DIR$ INLINEALWAYS s_correct_partial_densities
535+ #else
525536 !$acc routine seq
537+ #endif
526538
527539 !> @name variables for the correction of the reacting partial densities
528540 !> @{
@@ -580,7 +592,12 @@ contains
580592 !! @param q_cons_vf Cell-average conservative variables
581593 !! @param TJac Transpose of the Jacobian Matrix
582594 subroutine s_compute_jacobian_matrix(InvJac, j, Jac, k, l, mCPD, mCVGP, mCVGP2, pS, q_cons_vf, TJac)
595+
596+ #ifdef CRAY_ACC_WAR
597+ !DIR$ INLINEALWAYS s_compute_jacobian_matrix
598+ #else
583599 !$acc routine seq
600+ #endif
584601
585602 real(kind(0.0d0)), dimension(2, 2), intent(out) :: InvJac
586603 integer, intent(in) :: j
@@ -682,7 +699,12 @@ contains
682699 !! @param rhoe mixture energy
683700 !! @param R2D (2D) residue array
684701 subroutine s_compute_pTg_residue(j, k, l, mCPD, mCVGP, mQD, q_cons_vf, pS, rhoe, R2D)
702+
703+ #ifdef CRAY_ACC_WAR
704+ !DIR$ INLINEALWAYS s_compute_pTg_residue
705+ #else
685706 !$acc routine seq
707+ #endif
686708
687709 integer, intent(in) :: j, k, l
688710 real(kind(0.0d0)), intent(in) :: mCPD, mCVGP, mQD
@@ -728,7 +750,11 @@ contains
728750 !! @param TSat Saturation Temperature
729751 !! @param TSIn equilibrium Temperature
730752 subroutine s_TSat(pSat, TSat, TSIn)
753+ #ifdef CRAY_ACC_WAR
754+ !DIR$ INLINEALWAYS s_compute_speed_of_sound
755+ #else
731756 !$acc routine seq
757+ #endif
732758
733759 real(kind(0.0d0)), intent(in) :: pSat
734760 real(kind(0.0d0)), intent(out) :: TSat
0 commit comments