Feature #315

new constructor xt_redist_repeat

Added by Joerg Behrens over 6 years ago. Updated over 6 years ago.

Status:Closed Start date:03/08/2013
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

new constructor for simple static repetition of the same redist
(much simpler version of xt_redist_collection_static_new)

Xt_redist
xt_redist_repetition_new(Xt_redist redist, unsigned num_repetitions,
MPI_Aint displacements[num_repetitions]);
//hint: use xt_mpi_generate_datatype from xt_mpi.c
//hint: write easy to read doc

History

#1 Updated by Joerg Behrens over 6 years ago

We need more information from the caller in order to build a new redist:

byte-extent that scales the given displacements (now as int*)

E.g., this could be the layer-size of the user data in a 2dim. decomposition.

Xt_redist
xt_redist_repetition_new(Xt_redist redist, MPI_Aint extent, unsigned num_repetitions,
int displacements[num_repetitions]);

#2 Updated by Moritz Hanke over 6 years ago

  • Status changed from New to Closed

is now implemented

Also available in: Atom PDF