Actions
Feature #315
closednew constructor xt_redist_repeat
Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
03/08/2013
Due date:
% Done:
0%
Estimated time:
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
Updated by Joerg Behrens over 11 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]);
Actions