• Lei Wang's avatar
    [Refactor] Turn off `ENABLE_FAST_MATH` by default (#846) · e7e38355
    Lei Wang authored
    * [Enhancement] Enable fast math optimization in tilelang JIT configurations
    
    - Updated multiple examples and kernel functions to include `pass_configs` for enabling fast math optimization.
    - Added support for the `TL_ENABLE_FAST_MATH` configuration option in the built-in operations.
    - Enhanced the `LibraryGenerator` to handle the new fast math configuration, ensuring compatibility with existing settings.
    - Updated documentation to reflect the changes in fast math handling and deprecation of the `TL_DISABLE_FAST_MATH` option.
    
    * lint fix
    
    * [Refactor] Introduce deprecated_warning utility for improved deprecation handling
    
    - Added a new `deprecated_warning` function to streamline deprecation messages.
    - Updated the `LibraryGenerator` to utilize the new function for warning about the deprecated `TL_DISABLE_FAST_MATH` configuration.
    - Enhanced the `deprecated` decorator to support phaseout version messaging, improving clarity for users.
    e7e38355
example_mla_decode_paged.py 18.6 KB