Skip to content

Commit

Permalink
NVIDIA GPU fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfonba committed Mar 8, 2025
1 parent ccc0ebd commit 2422b29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/common/m_mpi_common.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module m_mpi_common
implicit none
integer, private :: err_code, ierr, v_size !<
!$acc declare create(v_size)
!! Generic flags used to identify and report MPI errors
real(wp), private, allocatable, dimension(:), target :: q_prims_buff_send !<
Expand Down Expand Up @@ -859,7 +860,7 @@ contains
call nvtxStartRange("RHS-COMM-SENDRECV-RDMA")

Check warning on line 860 in src/common/m_mpi_common.fpp

View check run for this annotation

Codecov / codecov/patch

src/common/m_mpi_common.fpp#L860

Added line #L860 was not covered by tests
#:else
call nvtxStartRange("RHS-COMM-DEV2HOST")
!$acc update host(q_prims_buff_send, ib_buff_send)
!$acc update host(q_prims_buff_send)
call nvtxEndRange
call nvtxStartRange("RHS-COMM-SENDRECV-NO-RMDA")
#:endif
Expand Down

0 comments on commit 2422b29

Please sign in to comment.