Skip to content

Conversation

@jhendersonHDF
Copy link
Collaborator

@jhendersonHDF jhendersonHDF commented Sep 26, 2025

Adds predefined datatypes for FP8 data in E4M3 and E5M2 formats

Does not add support for any native FP8 types; datatype conversions are performed in software


Important

Add predefined FP8 datatypes (E4M3 and E5M2) to HDF5 with software conversion support and update tests and documentation.

  • Datatypes:
    • Add FLOAT_F8E4M3 and FLOAT_F8E5M2 to H5PredType.cpp and H5PredType.h.
    • Update H5T.c and H5Tpublic.h to define FP8 E4M3 and E5M2 formats.
  • Conversion:
    • Modify h5util.c and H5Tnative.c to handle FP8 conversions in software.
    • Update H5LTparse.y and H5LTparse.c to include FP8 tokens.
  • Testing:
    • Add tests for FP8 datatypes in test_lite.c, dt_arith.c, and dtypes.c.
    • Update h5dumpgentest.c to generate test files for FP8.
  • Documentation:
    • Update CHANGELOG.md to mention FP8 datatype limitations.
    • Add FP8 descriptions to predefinedDatatypes.dox.

This description was created by Ellipsis for 0523b99. You can customize this summary. It will automatically update as commits are pushed.

@jhendersonHDF jhendersonHDF added Component - C Library Core C library issues (usually in the src directory) Component - Tools Command-line tools like h5dump, includes high-level tools Component - Documentation Doxygen, markdown, etc. Component - Wrappers C++, Java & Fortran wrappers labels Sep 26, 2025
@jhendersonHDF jhendersonHDF added the Component - Testing Code in test or testpar directories, GitHub workflows label Sep 26, 2025
@github-project-automation github-project-automation bot moved this to To be triaged in HDF5 - TRIAGE & TRACK Sep 26, 2025
@jhendersonHDF jhendersonHDF linked an issue Sep 26, 2025 that may be closed by this pull request
@jhendersonHDF jhendersonHDF force-pushed the feature/fp8_formats_predefined branch 2 times, most recently from d0e8532 to 0523b99 Compare October 23, 2025 21:44
Adds predefined datatypes for FP8 data in E4M3 and E5M2 formats

Does not add support for any native FP8 types; datatype conversions are performed in software
@jhendersonHDF jhendersonHDF marked this pull request as ready for review October 23, 2025 22:11
@jhendersonHDF jhendersonHDF marked this pull request as draft October 28, 2025 17:00
@jhendersonHDF jhendersonHDF marked this pull request as ready for review October 28, 2025 17:00
@nbagha1 nbagha1 added this to the Release 2.0.0 milestone Oct 29, 2025
@nbagha1 nbagha1 moved this from To be triaged to Scheduled/On-Deck in HDF5 - TRIAGE & TRACK Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component - C Library Core C library issues (usually in the src directory) Component - Documentation Doxygen, markdown, etc. Component - Testing Code in test or testpar directories, GitHub workflows Component - Tools Command-line tools like h5dump, includes high-level tools Component - Wrappers C++, Java & Fortran wrappers

Projects

Status: Scheduled/On-Deck

Development

Successfully merging this pull request may close these issues.

Add predefined datatypes for FP8 (both E4M3 and E5M2)

5 participants