|国家预印本平台
首页|MCFuser: High-Performance and Rapid Fusion of Memory-Bound Compute-Intensive Operators

MCFuser: High-Performance and Rapid Fusion of Memory-Bound Compute-Intensive Operators

MCFuser: High-Performance and Rapid Fusion of Memory-Bound Compute-Intensive Operators

来源:Arxiv_logoArxiv
英文摘要

Operator fusion, a key technique to improve data locality and alleviate GPU memory bandwidth pressure, often fails to extend to the fusion of multiple compute-intensive operators due to saturated computation throughput. However, the dynamicity of tensor dimension sizes could potentially lead to these operators becoming memory-bound, necessitating the generation of fused kernels, a task hindered by limited search spaces for fusion strategies, redundant memory access, and prolonged tuning time, leading to sub-optimal performance and inefficient deployment. We introduce MCFuser, a pioneering framework designed to overcome these obstacles by generating high-performance fused kernels for what we define as memory-bound compute-intensive (MBCI) operator chains. Leveraging high-level tiling expressions to delineate a comprehensive search space, coupled with Directed Acyclic Graph (DAG) analysis to eliminate redundant memory accesses, MCFuser streamlines kernel optimization. By implementing guidelines to prune the search space and incorporating an analytical performance model with a heuristic search, MCFuser not only significantly accelerates the tuning process but also demonstrates superior performance. Benchmarked against leading compilers like Ansor on NVIDIA A100 and RTX3080 GPUs, MCFuser achieves up to a 5.9x speedup in kernel performance and outpaces other baselines while reducing tuning time by over 70-fold, showcasing its agility.

Zheng Zhang、Donglin Yang、Xiaobo Zhou、Dazhao Cheng

10.1109/SC41406.2024.00040

计算技术、计算机技术

Zheng Zhang,Donglin Yang,Xiaobo Zhou,Dazhao Cheng.MCFuser: High-Performance and Rapid Fusion of Memory-Bound Compute-Intensive Operators[EB/OL].(2025-06-27)[2025-07-09].https://arxiv.org/abs/2506.22169.点此复制

评论