arrow
返回

Multi-Architecture Halide Template-Driven Automatic Library Function Generation for Simulink Models

delete2025-01-01
delete0
delete
OA
AI
齐
齐莉 (Qi Li) *
S
Shanwen Wu
M
Masato Edahiro
DOI:10.1109/ACCESS.2025.3548105delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
This paper presents a templated approach for automatic generation of optimized library functions using Halide as a replacement for the functions generated by Simulink. Although Simulink is widely used for the development of embedded systems, the automatically generated code may have limitations in compute-intensive models. Therefore, we propose library function generation using Halide from prewritten templates, extracting the Simulink model parameters using a model-based parallelizer. Experiments were conducted on central processing units (CPUs) and graphical processing units (GPUs) to evaluate performance. On CPUs, compared with compiler vectorization and the basic linear algebra subprograms (BLAS) library, Halide achieved up to 65.77 times speedup in multi-core and up to 36.20 times speedup in single-core scenarios. Although Halide did not always outperform BLAS for larger matrix sizes, it still showed considerable improvements. On GPUs, experiments on MX450 and Jetson platforms demonstrated that Halide's performance was comparable to that of cuBLAS and even surpassed it for larger matrices.
Keyword:
Software packages
Codes
Libraries
Computational modeling
Optimization
Hardware
Generators
Adaptation models
Data models
Computer architecture
Automatic scheduling
compute-intensive models
embedded systems
Halide language
multi-architecture
Simulink

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
9.8W
被引数:
29.4W

机构

N
Nagoya University
学者数:
3.3W
论文数: 2.5W
被引数: 2.6W
引用论文

引用论文

暂无论文信息