• Lei Wang's avatar
    [Enhancement] Support pass config `disable_warp_specialize` to disable auto... · 7fdcedd0
    Lei Wang authored
    [Enhancement] Support pass config `disable_warp_specialize` to disable auto specialization on hopper (#357)
    
    * [Enhancement] Add warp specialization configuration option and update related functionality
    
    * [Add] Introduced a new pass configuration option `kDisableWarpSpecialized` to control warp specialization behavior.
    * [Refactor] Updated `WarpSpecializedRewriter` and `WSCodeEmitter` to utilize the new configuration option, allowing for more flexible optimization strategies.
    * [Update] Modified the optimization pipeline in `phase.py` to include pipeline planning when warp specialization is disabled, enhancing performance with async copy.
    * [Documentation] Updated JIT compilation parameters to reflect the new configuration option for better clarity.
    
    * lint fix
    
    * [Add] Implement test for GEMM with warp specialization configuration
    
    * Introduced a new test file `test_tilelang_pass_config_disable_warp_specialized.py` to validate the functionality of the warp specialization configuration option.
    * Added a `run_gemm` function to execute matrix multiplication tests with and without warp specialization, ensuring correctness through profiling against reference results.
    * Included a specific test case for GEMM with float16 data types, enhancing test coverage for the new configuration feature.
    
    * [Refactor] Improve formatting in test_tilelang_pass_config_disable_warp_specialized.py
    
    * Reformatted the `tilelang.compile` call in the `run_gemm` function for better readability by breaking it into multiple lines.
    * Added a blank line for improved code structure and clarity in the `test_gemm_f16f16f16_nn` function.
    7fdcedd0
builtin.h 5.3 KB