Skip to content

Commit 2ede9a1

Browse files
author
Daniel Vickers
committed
Undoing a deletion of a directive with and end loop
1 parent 973ea73 commit 2ede9a1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/common/m_boundary_common.fpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,7 @@ contains
11711171
if (bc_x%beg >= 0) then
11721172
call s_mpi_sendrecv_variables_buffers(c_divs, 1, -1, num_dims + 1)
11731173
else
1174-
$:END_GPU_PARALLEL_LOOP()
1174+
$:GPU_PARALLEL_LOOP(private='[l,k]', collapse=2)
11751175
do l = 0, p
11761176
do k = 0, n
11771177
select case (bc_type(1, 1)%sf(0, k, l))
@@ -1190,7 +1190,7 @@ contains
11901190
if (bc_x%end >= 0) then
11911191
call s_mpi_sendrecv_variables_buffers(c_divs, 1, 1, num_dims + 1)
11921192
else
1193-
$:END_GPU_PARALLEL_LOOP()
1193+
$:GPU_PARALLEL_LOOP(private='[l,k]', collapse=2)
11941194
do l = 0, p
11951195
do k = 0, n
11961196
select case (bc_type(1, 2)%sf(0, k, l))
@@ -1212,7 +1212,7 @@ contains
12121212
if (bc_y%beg >= 0) then
12131213
call s_mpi_sendrecv_variables_buffers(c_divs, 2, -1, num_dims + 1)
12141214
else
1215-
$:END_GPU_PARALLEL_LOOP()
1215+
$:GPU_PARALLEL_LOOP(private='[l,k]', collapse=2)
12161216
do l = 0, p
12171217
do k = -buff_size, m + buff_size
12181218
select case (bc_type(2, 1)%sf(k, 0, l))
@@ -1231,7 +1231,7 @@ contains
12311231
if (bc_y%end >= 0) then
12321232
call s_mpi_sendrecv_variables_buffers(c_divs, 2, 1, num_dims + 1)
12331233
else
1234-
$:END_GPU_PARALLEL_LOOP()
1234+
$:GPU_PARALLEL_LOOP(private='[l,k]', collapse=2)
12351235
do l = 0, p
12361236
do k = -buff_size, m + buff_size
12371237
select case (bc_type(2, 2)%sf(k, 0, l))
@@ -1254,7 +1254,7 @@ contains
12541254
if (bc_z%beg >= 0) then
12551255
call s_mpi_sendrecv_variables_buffers(c_divs, 3, -1, num_dims + 1)
12561256
else
1257-
$:END_GPU_PARALLEL_LOOP()
1257+
$:GPU_PARALLEL_LOOP(private='[l,k]', collapse=2)
12581258
do l = -buff_size, n + buff_size
12591259
do k = -buff_size, m + buff_size
12601260
select case (bc_type(3, 1)%sf(k, l, 0))
@@ -1273,7 +1273,7 @@ contains
12731273
if (bc_z%end >= 0) then
12741274
call s_mpi_sendrecv_variables_buffers(c_divs, 3, 1, num_dims + 1)
12751275
else
1276-
$:END_GPU_PARALLEL_LOOP()
1276+
$:GPU_PARALLEL_LOOP(private='[l,k]', collapse=2)
12771277
do l = -buff_size, n + buff_size
12781278
do k = -buff_size, m + buff_size
12791279
select case (bc_type(3, 2)%sf(k, l, 0))

0 commit comments

Comments
 (0)