OpenMDSP:Extending OpenMP to Program Multi-Core DSPs

来源 :Journal of Computer Science & Technology | 被引量 : 0次 | 上传用户:gba2008
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
Multi-core digital signal processors(DSPs) are widely used in wireless telecommunication, core network transcoding, industrial control, and audio/video processing technologies, among others. In comparison with general-purpose multi-processors, multi-core DSPs normally have a more complex memory hierarchy, such as on-chip core-local memory and non-cache-coherent shared memory. As a result, efficient multi-core DSP applications are very difficult to write. The current approach used to program multi-core DSPs is based on proprietary vendor software development kits(SDKs), which only provide low-level, non-portable primitives. While it is acceptable to write coarse-grained task-level parallel code with these SDKs, writing fine-grained data parallel code with SDKs is a very tedious and error-prone approach. We believe that it is desirable to possess a high-level and portable parallel programming model for multi-core DSPs. In this paper,we propose OpenMDSP, an extension of OpenMP designed for multi-core DSPs. The goal of OpenMDSP is to fill the gap between the OpenMP memory model and the memory hierarchy of multi-core DSPs. We propose three classes of directives in OpenMDSP, including 1) data placement directives that allow programmers to control the placement of global variables conveniently, 2) distributed array directives that divide a whole array into sections and promote the sections into core-local memory to improve performance, and 3) stream access directives that promote big arrays into core-local memory section by section during parallel loop processing while hiding the latency of data movement by the direct memory access(DMA) of a DSP. We implement the compiler and runtime system for OpenMDSP on FreeScale MSC8156. The benchmarking results show that seven of nine benchmarks achieve a speedup of more than a factor of 5 when using six threads. Multi-core digital signal processors (DSPs) are widely used in wireless telecommunication, core network transcoding, industrial control, and audio / video processing technologies, among others. more complex memory hierarchy, such as on-chip core-local memory and non-cache-coherent shared memory. As a result, efficient multi-core DSP applications are very difficult to write. based on proprietary vendor software development kits (SDKs), which only provide low-level, non-portable primitives. While it is acceptable to write coarse-grained task-level parallel code with these SDKs, writing fine-grained data parallel code with SDKs is a very tedious and error-prone approach. We believe that it is desirable to possess a high-level and portable parallel programming model for multi-core DSPs. In this paper, we propose OpenMDSP, an extension of OpenMP designed fo r multi-core DSPs. The goal of OpenMDSP is to fill the gap between the OpenMP memory model and the memory hierarchy of multi-core DSPs. We propose three classes of directives in OpenMDSP, including 1) data placement directives that allow programmers to control the placement of global variables conveniently, 2) distributed array directives that divide a whole array into sections and promote the sections into core-local memory to improve performance, and 3) stream access directives that promote big arrays into core-local memory section by section during parallel loop processing while hiding the latency of data movement by the direct memory access (DMA) of a DSP. We implement the compiler and runtime system for OpenMDSP on FreeScale MSC8156. The benchmarking results show that seven of nine benchmarks achieve a speedup of more than a factor of 5 when using six threads.
其他文献
在交通工具落后的封建时代,水路运输是最便捷、低廉的运输方式,故流通中心型城市也多集中在主要水道沿线。明代禁海,南北物资交流主要依靠京杭大运河,在运河沿线兴起了一批繁
一、写作教学指导学生写作文,最关键的是要做到真情与健康写作。真情实感是写好一篇作文的灵魂。应该在字里行间蕴涵丰富的情感,不能只是用“笔”去写,而应当用“心”去写,而
2009年2月11日深夜,内蒙古自治区巴彦淖尔警方网监大队突然接到一少女小惠用QQ报警称:她被坏人胁迫到某小区内,请求民警解救。原来,当天上午,小惠被其男朋友从家中 Late at
家长群体是教育强大的后援,我校充分发扬教学民主、办学民主,认真贯彻《中共中央国务院关于进一步加强和改进未成年人思想道德建设的若干意见》和《全国家庭教育工作“十一五
进入小学高年级后随着数学学习内容的逐步深化,不少学生学习数学的能力逐步下降,他们越学越吃力,出现了部分学生产生了偏科的现象,形成了所谓的数学学困生。针对这种现象,我认为在教学上根据学困生的特点制定有利于学好数学的策略。  学困生在数学学习活动中,较少有成功的体验,作业错误多,考试失败多。屡屡的错误和失败,使他们灰心意冷,失去信心。教师应该帮助学生分析原因,制定学习计划,清除紧张心理,鼓励他们要敢问
一、融洽师生感情学生的学习成绩往往跟他们与教师的感情有很大的关系,良好的师生感情能够促进学生积极主动地学习。我主动地接近学生、了解学生、关心学生的学 First, the
对上海城市绿地系统的现状及存在问题进行了初步研究;从绿化的规划、设计及生态管理的角度提出了改善的措施与途径。 The status quo and existing problems of Shanghai’s
随着计算机的普及,学生对计算机的认知程度、操作水平等方面的差异越来越大,给计算机的教学带来了很大的问题。分层教学给信息技术教学提供了一个可供借鉴的教学方法。我们可
在总结五榀偏心框架结构试验的基础上,指出了这种新型抗震结构具有与纯框架结构相同的延性,但其抗侧刚度,承载能力明显提高,与GBJ11-89变形限值相比较,可充分发挥材料性能,而且其在
语文课堂教学必须始终坚持“以学生为本”的教学原则。在语文学科教材中本身所含有的政治性、思想性、时代性、教育性的良好德育条件,将其融于语文教学的各个过程中,让学生在