mpi_array.benchmarks.bench_creation.CommsAllocBench¶
-
class
mpi_array.benchmarks.bench_creation.CommsAllocBench[source]¶ Bases:
mpi_array.benchmarks.bench_creation.CreateBenchBenchmarks for
mpi_array.comms.LocaleComms.alloc_locale_buffer().Methods
__init__()Initialise, set moduletoNone.free(a)See free_mpi_array_obj().free_mpi_array_obj(a)Free MPI communicators and MPI windows for the given object. get_globale_shape(locale_shape)Returns a globale array shape for the given shape of the locale array. setup(shape)Import mpi_arraymodule and assign toself.module.teardown(shape)Free locale_commscommunicators.time_alloc_locale_buffer(shape)Time call of mpi_array.comms.LocaleComms.alloc_locale_buffer().Attributes
cart_comm_dimsgoal_timelocale_commsA mpi_array.comms.CartLocaleCommsinstance used to allocate memory.moduleThe moduleused to create array instances.param_namesparamsThe set of array-shape parameters. repeatwarmup_time