padded_dim Function

public pure function padded_dim(n, sz) result(n_padded)

Smallest multiple of sz that is >= n. Used for the x/y padding in allocator_init; z is never padded so is not covered here.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n
integer, intent(in) :: sz

Return Value integer


Called by

proc~~padded_dim~~CalledByGraph proc~padded_dim m_allocator::padded_dim proc~allocator_init m_allocator::allocator_init proc~allocator_init->proc~padded_dim proc~padded_cells m_memory_estimate::padded_cells proc~padded_cells->proc~padded_dim proc~padded_halo_bytes m_memory_estimate::padded_halo_bytes proc~padded_halo_bytes->proc~padded_dim interface~allocator_t m_allocator::allocator_t interface~allocator_t->proc~allocator_init proc~fields_plus_halo_bytes_n m_memcheck_estimate::fields_plus_halo_bytes_n proc~fields_plus_halo_bytes_n->proc~padded_cells 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