计算机工程与科学2024,Vol.46Issue(7):1151-1157,7.DOI:10.3969/j.issn.1007-130X.2024.07.002
基于MLIR的数据流模型
A codelet model based on MLIR
李金熹 1尹首一 1魏少军 1胡杨1
作者信息
- 1. 清华大学集成电路学院,北京 100084
- 折叠
摘要
Abstract
Thanks to the instruction set architecture(ISA),the software community and the hard-ware community has been developing independently for years.However,with the advent of multi-core accelerators,the sequential programming model based on the Von Neumann architecture is confronted with troubles.Based on sequential execution model,ISA lacks support for parallel multi-core hardware.Thus,merely using ISA cannot decouple software and hardware.A new program execution model(PXM)is required to accomplish end-to-end compilation from neural networks to interface with sequen-tially executed programming platforms and parallel multi-core hardware backends,further exploring the optimization opportunities provided by parallel hardware.This paper proposes a codelet model as a new PXM,providing a general abstraction for the process of downloading sequentially executed programs on-to parallel hardware.It further decouples the software frontend and hardware backend based on the in-struction set.To ensure the reusability of the project,this paper implements the codelet model in the form of a codelet dialect within the MLIR compiler framework proposed by Google.MLIR aims to in-tegrate fragmented compiler ecosystems and improve the reusability of frontend-to-backend integration processes.The codelet model implemented in MLIR in this paper can further enhance the reusability of the MLIR system.关键词
数据流模型/端到端编译/MLIRKey words
codelet model/end-to-end compilation/MLIR分类
信息技术与安全科学引用本文复制引用
李金熹,尹首一,魏少军,胡杨..基于MLIR的数据流模型[J].计算机工程与科学,2024,46(7):1151-1157,7.