"tools/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "77164f3c2c3c8b113da6cfa218d8bcf2f9b9524b"
  • Lei Wang's avatar
    [Enhancement] Introduce flag to visualize shared memory merge plan (#496) · dca2fb48
    Lei Wang authored
    * Remove debug print statement from block_sparse_attn_triton.py and implement a timeout handler in autotuner for function execution. This enhances the robustness of the autotuner by allowing it to handle timeouts gracefully.
    
    * Enhance the autotuner module by adding a timeout handler for function execution, improving robustness in handling long-running tasks. This change includes the introduction of a custom TimeoutException and updates to the run_with_timeout function for better signal management.
    
    * Add merge shared memory allocations pass and related configurations
    
    - Introduced a new pass for merging shared memory allocations in GPU kernels, allowing for more efficient memory usage.
    - Registered configuration options for debugging and controlling the merging behavior.
    - Updated relevant files to integrate the new pass into the TileLang engine and transform modules.
    - Adjusted import paths and added documentation for the new functionality.
    
    * Reduce num_stages parameter in GEMM functions from 3 to 1 for improved performance in test_tilelang_kernel_gemm.py
    dca2fb48
builtin.h 6.15 KB