Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 0 additions & 2 deletions src/common/m_mpi_common.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ contains
proc_rank = 0
#endif

$:GPU_UPDATE(device='[num_procs, proc_rank]')

end subroutine s_mpi_initialize

!> Set up MPI I/O data views and variable pointers for parallel file output.
Expand Down
3 changes: 3 additions & 0 deletions src/simulation/m_start_up.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -1104,6 +1104,9 @@ contains
#endif
#endif

! After the device is bound: s_mpi_initialize ran earlier, so its update went to the default device
$:GPU_UPDATE(device='[num_procs, proc_rank]')

if (proc_rank == 0) then
call s_assign_default_values_to_user_inputs()
call s_read_input_file()
Expand Down
Loading