Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data type naming rule #74

Open
ahori opened this issue Jan 18, 2018 · 3 comments
Open

Data type naming rule #74

ahori opened this issue Jan 18, 2018 · 3 comments
Assignees
Labels
mpi-5 For inclusion in the MPI 5.0 standard wg-p2p Point-to-Point Working Group

Comments

@ahori
Copy link

ahori commented Jan 18, 2018

Problem

Adding new basic data types in the standard is a very time consuming process and may result in losing the chance for MPI users to use new data type, such as FP16.

In another words;
"MPI standard only defines these data types. If you want to add new one, then you can do it by yourself by simply following this rule. Don't bother MPI forum for having new data types any more!"

Proposal

I propose to have 2 kinds of basic data types; one is now named fundamental data types which are defined in the current MPI standard and additional data types which implementors can decided to have in their implementation. By having the fixed fundamental type set, MPI forum will not be bothered for discussing on new data types any more.

In addition to this, new data type naming rule for the additional data types will be defined in the standard so that users can easily identify the data types used in the associated compiler from the MPI data type names. This may result in having new data type names, if the current data type names does not conform the naming rule. In this case, the current data type names will be synonyms of the fundamental data type names.

Further, adding MPI_Type_equivalent() function is also proposed so that users can see if two data types having different names are the same, in terms of binary representation and size, or not.

For more details, see attached PDF.

Changes to the Text

See attached PDF (draft).
FP16-20180131-AH.pdf

Impact on Implementations

New data type names should be added but these are essentially the synonyms of the current ones. This effort will be not that much.

Impact on Users

No impact at all (I hope)

References

#65 MPI standard will not define FP16 types but implementor can decide to implement or not.
#66 Implementors can decide to have them.
#69 External32 must be left unchanged because of compatibility

@ahori ahori self-assigned this Jan 18, 2018
@ahori ahori added not ready wg-p2p Point-to-Point Working Group labels Jan 18, 2018
@ahori
Copy link
Author

ahori commented Jan 29, 2018

Updated version is here to be discussed on 31st of Jan.
FP16-20180131-AH-rev1.pdf

@ahori
Copy link
Author

ahori commented Feb 26, 2018

Adding slides which will be presented in MPI Forum in Portland, 2018.
FP16-2018-March-MPI-Forum.pdf

@dholmes-epcc-ed-ac-uk dholmes-epcc-ed-ac-uk self-assigned this Mar 1, 2018
@ahori
Copy link
Author

ahori commented Sep 20, 2018

Here is the PDF file (including some updates from the plenary discussion)
mpi32-report.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mpi-5 For inclusion in the MPI 5.0 standard wg-p2p Point-to-Point Working Group
Projects
Status: To Do
Development

No branches or pull requests

4 participants