• Andriy Roshchenko's avatar
    [MX FP8] Add Scaled Type Convert Functions for OCP FP8/BF8 data types (#271) · c4a05057
    Andriy Roshchenko authored
    * Move scaled_type_convert functions to a separate header
    
    * Introduce MX data tests
    
    * Build MX tests only on relevant architectures
    
    * Refactor E8M0 scale implementation
    
    * Fix `config.h` typo
    
    * Cleanup deprecated symbols
    
    * Refactor `amd_ck_fp8.hpp`
    
    * `scaled_type_convert` for `f8_ocp_t`
    
    * Implement test for MX FP8 scaled type convert
    
    * Implement test for MX BF8 scaled type convert
    
    * Scaled type convert for vectors of 2 FP8 elements
    
    * Scaled type convert for vectors of 16 FP8 elements
    
    * Implementation of scaled conversion from F32 to F8
    
    * Add tests for scaled conversions from FP32 to FP8
    
    * Add documentation to the test functions
    
    * Implementation of scaled conversion from F32x2 to F8x2
    
    * Implementation of scaled conversion from F32x16 to F8x16
    
    * Implementation of scaled conversion from F32x32 to F8x32
    
    * Implementation of scaled conversion from F8x32 to F32x32
    
    * Verified on the emulator
    c4a05057
mxf8_utils.hpp 18.2 KB