transpose_xyz_to_zxy Subroutine

public subroutine transpose_xyz_to_zxy(dst, src, nx, ny, nz, fold_z)

Used before R2C FFT for the 110 and 111 cases to put Z in the fast dim. With fold_z (111), Z is folded on the way (see fold_destination).

Launch: blocks=dim3(nz, (ny-1)/tpb+1, 1), threads=dim3(tpb,1,1) Each thread handles one (k,j) pair, loops over i.

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(out), device, dimension(:, :, :) :: dst
real(kind=dp), intent(in), device, dimension(:, :, :) :: src
integer, intent(in), value :: nx
integer, intent(in), value :: ny
integer, intent(in), value :: nz
logical, intent(in), value :: fold_z

Calls

proc~~transpose_xyz_to_zxy~~CallsGraph proc~transpose_xyz_to_zxy m_cuda_spectral::transpose_xyz_to_zxy proc~fold_destination m_cuda_spectral::fold_destination proc~transpose_xyz_to_zxy->proc~fold_destination

Called by

proc~~transpose_xyz_to_zxy~~CalledByGraph proc~transpose_xyz_to_zxy m_cuda_spectral::transpose_xyz_to_zxy proc~fft_forward_110_cuda m_cuda_poisson_fft::cuda_poisson_11x_t%fft_forward_110_cuda proc~fft_forward_110_cuda->proc~transpose_xyz_to_zxy