next up previous
Next: LIP_DATAMAP_IC_TTABLE_COPY Up: Data Mapping Previous: Data Mapping

LIP_DATAMAP_CREATE

LIP_DATAMAP_CREATE(type, global, desc, desctype, count, flags, datamap)

IN type type of the data map to be created (integer)
IN global global size of data array (integer)
IN desc detailed description of the data map to be created (array of integer)
IN desctype index type of datamap description array
IN count size of the description array (integer)
IN flags flags describing the data map to be created (integer)
OUT datamap new data map (handle)


C syntax:

int LIP_Datamap_create(int type, int global, void *desc, LIP_Indextype desctype, int count, int flags, LIP_Datamap *datamap)


Java syntax:
Class Datamap:
public Datamap(DataDistribution distrib, int count, int flags)
public Datamap()


LIP_DATAMAP_CREATE creates a datamap object which describes how a data array is partitioned among processors. The argument pair: (type, desc) can have the following values (which correspond to the data mappings usually used in data-parallel languages):

Valid flags values are: NULL or LIP_OOC.


next up previous
Next: LIP_DATAMAP_IC_TTABLE_COPY Up: Data Mapping Previous: Data Mapping