moTuner: A Compiler-based Auto-tuning Approach for Mixed-precision Operators

被引:0
|
作者
Mo, Zewei [1 ]
Lin, Zejia [2 ]
Zhang, Xianwei [1 ]
Lu, Yutong [1 ]
机构
[1] Sun Yat Sen Univ, Guangzhou, Peoples R China
[2] Northwestern Polytech Univ, Xian, Peoples R China
基金
中国国家自然科学基金;
关键词
mixed-precision operator; auto-tuning; compiler; performance and accuracy; GPUs;
D O I
10.1145/3528416.3530231
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Arithmetic operators are now used in a wide spectrum of domains, including artificial intelligence, data analytics and scientific computing. Meanwhile, specialized hardware components to enable low-precision computing are increasingly deployed in GPUs and accelerators. Whereas promising to boost performance, accelerating the operators on the hardware necessitates manually tuning the mixed-precision knobs to balance the performance and accuracy, which can be extremely challenging in real practices. To address the issue, we present moTuner, an automatic framework for efficiently tuning mixed-precision operators. moTuner works on compiler-level to automatically enable the mixed-precision computation, without involving any manual modifications of source code and/or the operator library, thus significantly alleviating the programming burden. Owing to be implemented in compilation phase, moTuner can be more widely applicable with lessened efforts on the libraries. Further, moTuner adopts optimized search strategy in tuning to effectively narrow down the configuration space. The evaluations on GEMM operators and real applications demonstrate that moTuner achieves performance improvement up to 3.13x and 1.15x respectively, while guaranteeing considerably high accuracy.
引用
收藏
页码:94 / 102
页数:9
相关论文
共 50 条
  • [21] A Novel Mixed-Precision Quantization Approach for CNNs
    Wu, Dan
    Wang, Yanzhi
    Fei, Yuqi
    Gao, Guowang
    IEEE ACCESS, 2025, 13 : 49309 - 49319
  • [22] An Auto-tuning LQR based on Correlation Analysis
    Huang, Xujiang
    Li, Pu
    IFAC PAPERSONLINE, 2020, 53 (02): : 7148 - 7153
  • [23] Auto-tuning for floating-point precision with Discrete Stochastic Arithmetic
    Graillat, Stef
    Jezequel, Fabienne
    Picot, Romain
    Fevotte, Francois
    Lathuiliere, Bruno
    JOURNAL OF COMPUTATIONAL SCIENCE, 2019, 36
  • [24] A Supervised Auto-Tuning Approach for a Banking Fraud Detection System
    Carminati, Michele
    Valentini, Luca
    Zanero, Stefano
    CYBER SECURITY CRYPTOGRAPHY AND MACHINE LEARNING (CSCML 2017), 2017, 10332 : 215 - 233
  • [25] Auto-tuning Spark Configurations Based on Neural Network
    Gu, Jing
    Li, Ying
    Tang, Hongyan
    Wu, Zhonghai
    2018 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC), 2018,
  • [26] Otterman: A Novel Approach of Spark Auto-tuning by a Hybrid Strategy
    Du, Haizhou
    Han, Ping
    Chen, Wei
    Wang, Yi
    Zhang, Chenlu
    2018 5TH INTERNATIONAL CONFERENCE ON SYSTEMS AND INFORMATICS (ICSAI), 2018, : 478 - 483
  • [27] Gunther: Search-Based Auto-Tuning of MapReduce
    Liao, Guangdeng
    Datta, Kushal
    Willke, Theodore L.
    EURO-PAR 2013 PARALLEL PROCESSING, 2013, 8097 : 406 - 419
  • [28] TOWARDS PRECISION MEDICINE FOR THE INJURED BRAIN: AUTO-TUNING OF CORTICAL SPREADING DEPOLARIZATION
    Shah, Kevin
    Narayan, Raj
    Li, Chunyan
    JOURNAL OF NEUROTRAUMA, 2019, 36 (13) : A11 - A11
  • [29] A compiler-based approach for improving intra-iteration data reuse
    Kandemir, M
    DESIGN, AUTOMATION AND TEST IN EUROPE CONFERENCE AND EXHIBITION, 2002 PROCEEDINGS, 2002, : 984 - 990
  • [30] Towards Machine Learning-Based Auto-tuning of MapReduce
    Yigitbasi, Nezih
    Willke, Theodore L.
    Liao, Guangdeng
    Epema, Dick
    2013 IEEE 21ST INTERNATIONAL SYMPOSIUM ON MODELING, ANALYSIS & SIMULATION OF COMPUTER AND TELECOMMUNICATION SYSTEMS (MASCOTS 2013), 2013, : 11 - +