AI 中文总结
介绍用于仿真OCP MX块浮点算法和格式 的MATLAB库MXsim v0.1,基于CPFloat构建,能定制指数等精度,通过简单接口供混合精度算法开发社区实验,还可探索不同设置对混合精度数值算法的影响。
AI 中文摘要
我们展示了MXsim v0.1:一个用于仿真OCP MX块浮点算法和格式的MATLAB库。该库基于定制精度浮点模拟器CPFloat构建,可模拟非块IEEE 754浮点格式的定制变体。MXsim是一个MATLAB模拟器,面向混合精度算法开发社区,通过简单且文档完善的MATLAB接口对OCP MX块浮点算法进行实验。它能对指数、输入输出格式精度及点积运算中累加器精度进行完全定制,还可在多种可能设置下实验,以确定对混合精度数值算法的影响。
英文摘要
We present MXsim v0.1: a MATLAB library for simulating the OCP MX block floating-point arithmetic and formats. The library is built on top of a custom-precision floating-point simulator, CPFloat, which allows custom variants of non-block IEEE 754 floating-point formats to be simulated. MXsim is a MATLAB simulator, and is targeted at mixed-precision algorithm development community to perform experimentation in OCP MX block floating-point arithmetic by using a simple and well-documented interface in MATLAB, which is especially useful when access to the latest NVIDIA and AMD GPUs is not available. Furthermore, due to full customisation of exponents, precisions of input and output formats, and the precision of the accumulator within the dot product operation, MXsim allows experimenting with custom variants of the OCP MX block floating point for research. Finally, since the bit-wise numerical behavior of OCP MX formats is not documented by GPU vendors, and the precision and rounding are not prescribed by the OCP specification itself, MXsim allows experiments with various possible settings in order to determine the effects on mixed-precision numerical algorithms.