Skip to content

Commit 0563614

Browse files
committed
PR change requests
1 parent e27793f commit 0563614

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

src/common/m_boundary_common.fpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1470,9 +1470,9 @@ contains
14701470

14711471
integer :: j, k, l
14721472

1473-
!$acc kernels
1474-
jac_sf(1)%sf => jac
1475-
!$acc end kernels
1473+
#:call GPU_PARALLEL()
1474+
jac_sf(1)%sf => jac
1475+
#:endcall GPU_PARALLEL
14761476

14771477
if (bc_x%beg >= 0) then
14781478
call s_mpi_sendrecv_variables_buffers(jac_sf, 1, -1, 1)

src/simulation/m_igr.fpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,9 @@ contains
163163
end subroutine s_initialize_igr_module
164164

165165
subroutine s_igr_iterative_solve(q_cons_vf, bc_type, t_step)
166+
#ifdef _CRAYFTN
166167
!DIR$ OPTIMIZE (-haggress)
168+
#endif
167169
type(scalar_field), dimension(sys_size), intent(inout) :: q_cons_vf
168170
type(integer_field), dimension(1:num_dims, -1:1), intent(in) :: bc_type
169171
integer, intent(in) :: t_step
@@ -261,7 +263,9 @@ contains
261263
end subroutine s_igr_iterative_solve
262264

263265
subroutine s_igr_sigma_x(q_cons_vf, rhs_vf)
266+
#ifdef _CRAYFTN
264267
!DIR$ OPTIMIZE (-haggress)
268+
#endif
265269
type(scalar_field), &
266270
dimension(sys_size), &
267271
intent(inout) :: rhs_vf
@@ -328,7 +332,9 @@ contains
328332
end subroutine s_igr_sigma_x
329333

330334
subroutine s_igr_riemann_solver(q_cons_vf, rhs_vf, idir)
335+
#ifdef _CRAYFTN
331336
!DIR$ OPTIMIZE (-haggress)
337+
#endif
332338
type(scalar_field), &
333339
dimension(sys_size), &
334340
intent(inout) :: rhs_vf

0 commit comments

Comments
 (0)