pack_zslab_to_alltoall Subroutine

public subroutine pack_zslab_to_alltoall(sendbuf, src, nx, ny_l, nz_l, nproc)

Packs the physical Z-slab field block (nx, ny, nz_l) into the MPI_Alltoall send buffer, selecting for each destination rank s the Y range [sny_l+1, (s+1)ny_l] it owns after the redistribution. Shared by the 110 and 010 multi-rank paths.

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(out), device, dimension(:, :, :, :) :: sendbuf
real(kind=dp), intent(in), device, dimension(:, :, :) :: src
integer, intent(in), value :: nx
integer, intent(in), value :: ny_l
integer, intent(in), value :: nz_l
integer, intent(in), value :: nproc

Called by

proc~~pack_zslab_to_alltoall~~CalledByGraph proc~pack_zslab_to_alltoall m_cuda_spectral::pack_zslab_to_alltoall proc~fft_postprocess_010_cuda m_cuda_poisson_fft::cuda_poisson_010_t%fft_postprocess_010_cuda proc~fft_postprocess_010_cuda->proc~pack_zslab_to_alltoall proc~redistribute_110_to_yslab m_cuda_poisson_fft::cuda_poisson_11x_t%redistribute_110_to_yslab proc~redistribute_110_to_yslab->proc~pack_zslab_to_alltoall proc~fft_forward_110_cuda m_cuda_poisson_fft::cuda_poisson_11x_t%fft_forward_110_cuda proc~fft_forward_110_cuda->proc~redistribute_110_to_yslab