Skip to content

Commit 727e9d9

Browse files
committed
fix GPU bug
1 parent f2dcbaf commit 727e9d9

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/common/m_boundary_common.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,7 +1202,7 @@ contains
12021202
do i = 1, nb
12031203
do q = 1, nnode
12041204
do j = 1, buff_size
1205-
pb(m+j, k, l, q, i) = pb(0, k, l, q, i)
1205+
pb(m + j, k, l, q, i) = pb(0, k, l, q, i)
12061206
mv(m, k, l, q, i) = mv(0, k, l, q, i)
12071207
end do
12081208
end do
@@ -1262,7 +1262,7 @@ contains
12621262

12631263
end if
12641264

1265-
end subroutine s_qbmm_extrapolation
1265+
end subroutine s_qbmm_extrapolation
12661266

12671267
subroutine s_populate_capillary_buffers(c_divs, bc_type)
12681268

src/simulation/m_mpi_proxy.fpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ module m_mpi_proxy
4242
!! immersed boundary markers, for a single computational domain boundary
4343
!! at the time, from the relevant neighboring processor.
4444
45-
!$acc declare create( ib_buff_send, ib_buff_recv)
46-
!$acc declare create(c_divs_buff_send, c_divs_buff_recv)
47-
4845
!> @name Generic flags used to identify and report MPI errors
4946
!> @{
5047
integer, private :: err_code, ierr, v_size

0 commit comments

Comments
 (0)