cvfpu icon indicating copy to clipboard operation
cvfpu copied to clipboard

how complicated would it be add FP8 E3M4 and E2M5 support to this IP?

Open muzafferkal opened this issue 2 years ago • 2 comments

Hi, Currently the only FP8 support is E5M2. How complicated would it be to add E3M4 and E2M5 support? Can I make a contribution to some organization to get these added? What would it take :-) ?

muzafferkal avatar Nov 02 '23 22:11 muzafferkal

Afaik, making this FPU extendable was one of its primary purposes. You should just need to add your formats to the package here. You can designate the amount of exponent and mantissa bits per format. Note that I am not the author though :-) Let me know whether this answers your question and we can close the issue.

zarubaf avatar Nov 06 '23 19:11 zarubaf

What about e5m2_fnuz? Is there a way to disable infinities and use a special NaN encoding?

fayalalebrun avatar Mar 15 '24 06:03 fayalalebrun