Skip to content

Commit 2422b29

Browse files
committed
NVIDIA GPU fixes
1 parent ccc0ebd commit 2422b29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/common/m_mpi_common.fpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ module m_mpi_common
2323
implicit none
2424
2525
integer, private :: err_code, ierr, v_size !<
26+
!$acc declare create(v_size)
2627
!! Generic flags used to identify and report MPI errors
2728
2829
real(wp), private, allocatable, dimension(:), target :: q_prims_buff_send !<
@@ -859,7 +860,7 @@ contains
859860
call nvtxStartRange("RHS-COMM-SENDRECV-RDMA")
860861
#:else
861862
call nvtxStartRange("RHS-COMM-DEV2HOST")
862-
!$acc update host(q_prims_buff_send, ib_buff_send)
863+
!$acc update host(q_prims_buff_send)
863864
call nvtxEndRange
864865
call nvtxStartRange("RHS-COMM-SENDRECV-NO-RMDA")
865866
#:endif

0 commit comments

Comments
 (0)