padded_halo_bytes Function

public pure function padded_halo_bytes(local_dims, sz, n_halo) result(nbytes8)

halo_bytes for a local block of local_dims cells: pads x and y to sz (z untouched) the way the allocator does, then sizes the halo-exchange buffers of those padded dims.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: local_dims(3)
integer, intent(in) :: sz
integer, intent(in) :: n_halo

Return Value integer(kind=i8)


Calls

proc~~padded_halo_bytes~~CallsGraph proc~padded_halo_bytes m_memory_estimate::padded_halo_bytes proc~halo_bytes m_memory_estimate::halo_bytes proc~padded_halo_bytes->proc~halo_bytes proc~padded_dim m_allocator::padded_dim proc~padded_halo_bytes->proc~padded_dim

Called by

proc~~padded_halo_bytes~~CalledByGraph proc~padded_halo_bytes m_memory_estimate::padded_halo_bytes proc~fields_plus_halo_bytes_n m_memcheck_estimate::fields_plus_halo_bytes_n proc~fields_plus_halo_bytes_n->proc~padded_halo_bytes proc~estimate_for_num_gpus m_memcheck_estimate::estimate_for_num_gpus proc~estimate_for_num_gpus->proc~fields_plus_halo_bytes_n proc~run_build_mode m_memcheck_build::run_build_mode proc~run_build_mode->proc~fields_plus_halo_bytes_n proc~run_build_mode->proc~estimate_for_num_gpus 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 program~x3d2_memcheck x3d2_memcheck program~x3d2_memcheck->proc~run_build_mode program~x3d2_memcheck->proc~report