Funktionsübersicht . . Abgeleitete Datentypen

Hilfesystem für den Message Passing Interface Standard MPI


MPI_Type_vector

Liefert ein handle für einen abgeleiteten Datentyp, der aus einer Anzahl von Blöcken besteht, welche ihreseits aus gleichartigen Elementen eines vorhandenen Datentyps bestehen (mit Offset in Elementen)

Syntax:

Input Parameter: Output Parameter: Aufruf:

#include "mpi.h"

    int           count, blocklen, stride;
    MPI_Datatype  oldtype, newtype;
    ...
    MPI_Type_vector(count, blocklen, stride, oldtype, &newtype);
    MPI_Type_commit(&newtype);
    ...
    MPI_Type_free(&newtype);