Skip to content

Info on MPI Datatypes #552

Open
Open
@jdinan

Description

@jdinan

Problem

Today we cannot apply MPI Info hints to datatypes.

Proposal

Add the following functions:

int MPI_Type_commit_with_info(MPI_Datatype *datatype, MPI_Info info);
int MPI_Type_get_info(MPI_Datatype datatype, MPI_Info *info_used);

Changes to the Text

Changes to add the functions proposed above, specify that info does not propagate from one datatype object to another, and specify which info can be applied to datatypes.

Impact on Implementations

Implementations can ignore info and implement these functions with little effort.

New info keys and assertions can enable optimizations within the MPI library, e.g. to specify the memory kind for a buffer or request that the MPI library launch GPU data packing kernel for a noncontiguous buffer.

Impact on Users

Info would be opt-in. Users can provide more information to the MPI library to enable performance optimizations.

References and Pull Requests

Metadata

Metadata

Labels

chap-datatypesDatatypes Chapter Committeechap-infoThe Info Object Chapter Committeempi-6For inclusion in the MPI 5.1 or 6.0 standard

Type

No type

Projects

Status

To Do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions