exec_dist_tds_compact Subroutine

public subroutine exec_dist_tds_compact(du, u, u_recv_s, u_recv_e, du_send_s, du_send_e, du_recv_s, du_recv_e, tdsops, par, dir, blocks, threads)

Distributed compact solve along dir. The reduced system that couples the ranks is solved with the neighbour-only 2x2 approximation, or exactly where tdsops%dist_exact asks for it (see m_dist_reduced). The exact solve's right-hand sides, two planes per field, go through the host.

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(out), device, dimension(:, :, :) :: du
real(kind=dp), intent(in), device, dimension(:, :, :) :: u
real(kind=dp), intent(in), device, dimension(:, :, :) :: u_recv_s
real(kind=dp), intent(in), device, dimension(:, :, :) :: u_recv_e
real(kind=dp), intent(out), device, dimension(:, :, :) :: du_send_s
real(kind=dp), intent(out), device, dimension(:, :, :) :: du_send_e
real(kind=dp), intent(out), device, dimension(:, :, :) :: du_recv_s
real(kind=dp), intent(out), device, dimension(:, :, :) :: du_recv_e
type(cuda_tdsops_t), intent(in) :: tdsops
type(par_t), intent(in) :: par
integer, intent(in) :: dir
type(dim3), intent(in) :: blocks
type(dim3), intent(in) :: threads

Calls

proc~~exec_dist_tds_compact~2~~CallsGraph proc~exec_dist_tds_compact~2 m_cuda_exec_dist::exec_dist_tds_compact proc~der_univ_dist~2 m_cuda_kernels_dist::der_univ_dist proc~exec_dist_tds_compact~2->proc~der_univ_dist~2 proc~der_univ_subs_exact~2 m_cuda_kernels_dist::der_univ_subs_exact proc~exec_dist_tds_compact~2->proc~der_univ_subs_exact~2 proc~der_univ_subs~2 m_cuda_kernels_dist::der_univ_subs proc~exec_dist_tds_compact~2->proc~der_univ_subs~2 proc~sendrecv_fields~2 m_cuda_sendrecv::sendrecv_fields proc~exec_dist_tds_compact~2->proc~sendrecv_fields~2 proc~solve_reduced_exact m_dist_reduced::solve_reduced_exact proc~exec_dist_tds_compact~2->proc~solve_reduced_exact cudastreamsynchronize cudastreamsynchronize proc~sendrecv_fields~2->cudastreamsynchronize mpi_irecv mpi_irecv proc~sendrecv_fields~2->mpi_irecv mpi_isend mpi_isend proc~sendrecv_fields~2->mpi_isend mpi_waitall mpi_waitall proc~sendrecv_fields~2->mpi_waitall proc~check_cuda m_cuda_errors::check_cuda proc~sendrecv_fields~2->proc~check_cuda proc~check_mpi m_logger::check_mpi proc~sendrecv_fields~2->proc~check_mpi proc~copy_halo m_cuda_sendrecv::copy_halo proc~sendrecv_fields~2->proc~copy_halo mpi_allgather mpi_allgather proc~solve_reduced_exact->mpi_allgather mpi_comm_free mpi_comm_free proc~solve_reduced_exact->mpi_comm_free mpi_comm_split mpi_comm_split proc~solve_reduced_exact->mpi_comm_split proc~abort_run m_logger::abort_run proc~solve_reduced_exact->proc~abort_run interface~str m_logger::str proc~abort_run->interface~str mpi_abort mpi_abort proc~abort_run->mpi_abort mpi_barrier mpi_barrier proc~abort_run->mpi_barrier mpi_comm_rank mpi_comm_rank proc~abort_run->mpi_comm_rank mpi_comm_size mpi_comm_size proc~abort_run->mpi_comm_size mpi_finalized mpi_finalized proc~abort_run->mpi_finalized mpi_initialized mpi_initialized proc~abort_run->mpi_initialized proc~check_cuda->proc~abort_run cudageterrorstring cudageterrorstring proc~check_cuda->cudageterrorstring proc~check_cuda->interface~str proc~check_mpi->proc~abort_run proc~check_mpi->interface~str mpi_error_string mpi_error_string proc~check_mpi->mpi_error_string proc~copy_halo->proc~abort_run

Called by

proc~~exec_dist_tds_compact~2~~CalledByGraph proc~exec_dist_tds_compact~2 m_cuda_exec_dist::exec_dist_tds_compact proc~tds_solve_dist~2 m_cuda_backend::cuda_backend_t%tds_solve_dist proc~tds_solve_dist~2->proc~exec_dist_tds_compact~2 proc~tds_solve_cuda m_cuda_backend::cuda_backend_t%tds_solve_cuda proc~tds_solve_cuda->proc~tds_solve_dist~2