吉林大学学报(理学版)

• 计算机科学 • 上一篇    下一篇

特定领域语言MISPC及其编译框架实现技术

刘磊1, 李振国1, 高艳华1, 丁岩2, 申春1, 刘雷3   

  1. 1. 吉林大学 计算机科学与技术学院, 长春 130012;2. 长春理工大学 计算机科学技术学院, 长春 130022; 3. 中国科学院 计算技术研究所, 北京 100190
  • 收稿日期:2015-10-28 出版日期:2016-07-26 发布日期:2016-07-20
  • 通讯作者: 申春 E-mail:shenchun@jlu.edu.cn

DomainSpecific Language MISPC and ImplementationTechnique of  Compiling Framework

LIU Lei1, LI Zhenguo1, GAO Yanhua1, DING Yan2, SHEN Chun1, LIU Lei3   

  1. 1. College of Computer Science and Technology, Jilin University, Changchun 130012, China; [JP2]2. School of Computer Science and Technology, Changchun University of Science and Technology, Changchun 130022,[JP]China; 3. Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100190, China
  • Received:2015-10-28 Online:2016-07-26 Published:2016-07-20
  • Contact: SHEN Chun E-mail:shenchun@jlu.edu.cn

摘要:

基于C语言扩展定义一种新的特定领域编程语言MISPC, 并描述其应用于多媒体和无线网络领域主流场景的特征, 利用Backus-Naur范式对其数据类型等进行描述. 针对该语言特点, 提出一个面向异构平台的编译框架, 以生成较高性能的目标代码. 结合领域中一个经典算法进行验证, 实验结果表明, 对比不同输入规模、 不同版
本的代码实现, 显著提高了领域开发的效率, 并可获得最高5.59倍的执行加速比. 通过定义相应高层语言并构建编译框架, 提供领域编程框架的系统解决方法和技术, 有效降低了领域编程和调试的难度, 提升了领域开发效率及程序性能.

关键词: 特定领域语言, 多媒体, 无线网络, 编译框架, GPU, SIMD

Abstract:

Based on the extension of C language, we defined a new domainspecific programming language MISPC, which described the characteristics of mainstream scene in the field of multimedia and wireless network, and used BackusNaur form to describe the data type. In view of the language features, we proposed a compiling framework for heterogeneous platforms to produce highperformance source codes. The experimental results indicate the domainspecific language and its compiling framework significantly improve development efficiency of the domains, and achieve a maximum speedup of 5.59 times compared with corresponding program versions of different inputs. By defining the highlevel language and constructing the compiling framework, we provide domainspecific programming framework of system solution and technology to effectively decrease the programming and debugging difficulty, and increase development efficiency and application performance.

Key words: domainspecific language, multi\, media, wireless network, compiling framework, GPU, SIMD

中图分类号: 

  • TP312