cuda_fft_spectral_dims Subroutine

public pure subroutine cuda_fft_spectral_dims(bc_code, dims_glob, dims_loc, nproc_dir, nrank_dir, n_spec, n_sp_st)

The size n_spec and the offset n_sp_st of the local spectral pencil in the permuted state, for the BC class bc_code on the cell dimensions dims_glob and dims_loc, the decomposition nproc_dir and the rank position nrank_dir. A BC class the solver does not support gives zeros. Shared by the solver init and the x3d2-memcheck estimate.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: bc_code
integer, intent(in) :: dims_glob(3)
integer, intent(in) :: dims_loc(3)
integer, intent(in) :: nproc_dir(3)
integer, intent(in) :: nrank_dir(3)
integer, intent(out) :: n_spec(3)
integer, intent(out) :: n_sp_st(3)

Called by

proc~~cuda_fft_spectral_dims~~CalledByGraph proc~cuda_fft_spectral_dims m_cuda_poisson_fft::cuda_fft_spectral_dims proc~estimate_for_num_gpus m_memcheck_estimate::estimate_for_num_gpus proc~estimate_for_num_gpus->proc~cuda_fft_spectral_dims proc~prepare_probe m_memcheck_estimate::prepare_probe proc~prepare_probe->proc~cuda_fft_spectral_dims proc~print_requested_line m_memcheck_report::print_requested_line proc~print_requested_line->proc~estimate_for_num_gpus proc~report m_memcheck_report::report proc~report->proc~estimate_for_num_gpus proc~report->proc~prepare_probe proc~report->proc~print_requested_line proc~run_build_mode m_memcheck_build::run_build_mode proc~run_build_mode->proc~estimate_for_num_gpus program~x3d2_memcheck x3d2_memcheck program~x3d2_memcheck->proc~report program~x3d2_memcheck->proc~run_build_mode