Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/simulation/m_ibm.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,12 @@ contains
call nvtxStartRange("COMPUTE-GHOST-POINTS")
! recalculate the ghost point locations and coefficients
call s_find_num_ghost_points(num_gps)
! num_gps is a declare-target module variable and bounds every device loop over the ghost points; it is
! copied to the device once in s_ibm_setup, so without this refresh the kernels keep the setup-time count
! as a moving body's count changes: stale list entries beyond the current count are written as wall
! states into cells that are now fluid, new ghost cells are left uncorrected, and which entries those are
! depends on the atomic fill order -- nondeterministic results run to run (#1886).
$:GPU_UPDATE(device='[num_gps]')
call s_find_ghost_points(ghost_points)
call nvtxEndRange

Expand Down
Loading