stretched_y_matrix_bytes Function

public pure function stretched_y_matrix_bytes(bc_is_010, stretching_y, lowmem_fft, n_spec) result(nbytes8)

010-case, non-uniform y-stretching Poisson coefficient matrices, src/poisson_fft.f90:176-186 (only 010 sets stretched_y, and only at num_gpus=1 since 010 error-stops at nproc>1) and :320-323,424-428 (allocation shapes), copied to the device at src/backend/cuda/poisson_fft.f90:390-411: 'bottom': a_re, a_im, shape (nx_spec, ny_spec, nz_spec, 5), real(dp) otherwise ('centred', 'top-bottom'): a_odd_re/im, a_even_re/im, shape (nx_spec, ny_spec/2, nz_spec, 5), real(dp) doubled by the store_a_*_dev copies when lowmem_fft is .false. (the default).

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: bc_is_010
character(len=*), intent(in) :: stretching_y
logical, intent(in) :: lowmem_fft
integer, intent(in) :: n_spec(3)

Return Value integer(kind=i8)


Called by

proc~~stretched_y_matrix_bytes~~CalledByGraph proc~stretched_y_matrix_bytes m_memory_estimate::stretched_y_matrix_bytes proc~estimate_for_num_gpus m_memcheck_estimate::estimate_for_num_gpus proc~estimate_for_num_gpus->proc~stretched_y_matrix_bytes 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~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