- 1、本文档共5页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
多核构架下基于OpenMP的Huffman压缩算法并行设计-南华大学学报
第27卷第3期 南华大学学报(自然科学版) Vol郾27 No郾3
2013年9月 Journal of University of South China(Science and Technology) Sep郾2013
文章编号:1673-0062(2013)03-0061-05
多核构架下基于 OpenMP 的Huffman压缩算法并行设计
胡摇 荣,唐琨皓,黄摇 樱
(湖南工学院计算机与信息科学学院,湖南 衡阳421002)
摘摇 要:本文是对多核程序设计的一种探索,在OpenMP模型下以赫夫曼算法为基础
设计并行压缩程序.首先对传统的串行程序进行分析,使应用程序开发人员了解程序
行为、发现性能瓶颈、明确优化方向.再用OpenMP 的基本结构进行并行程序的设计
之后,借助开发工具对并行程序进行优化和调试,得到改进方案.然后在双核处理器
上分别运行并行程序与串行程序,将两者进行性能上的比较,实验结果证明性能得到
很大程度地提高.
关键词:OpenMP模型;并行程序设计;多核;多线程
中图分类号:TP311摇 摇 摇 文献标识码:B
Design of Parallel Huffman Compress Algorithm Based
on OpenMP and Multi鄄core Architecture
HU Rong,TANG Kun鄄hao,HUANG Ying
(College of Computer and Information Science,Hunan Institute of Technology,Hengyang,Hunan421002,China)
Abstract:This paper is an exploration of the multi鄄core programming under such back鄄
ground.A parallel Huffman compress algorithm is developed based on OpenMP program鄄
ming model.The traditional serial鄄execution procedures were analyzed,so the application
developers can understand the operations in the code,find performance bottlenecks,and
work towards the correct directions for code parallelization and optimization. The code
based on OpenMP wasfurther optimized and debugged with the help from various develo鄄
ping tools.An experiment platform was built,which is used to evaluate and compare the
code performancebetweentheparallelizedversionandtheserial鄄executionversion.Theex鄄
periment results show that the performance is improved to a large extend.
key words:the model of OpenMP;parallel programming;multi鄄core;multithread
收稿日期:2013-04-25
基金项目:湖南省科技厅科研基金资助项目(2011FJ3108;2013GK3036);湖南省教育厅科学研究基金资助项目
(12C0
您可能关注的文档
- 塔机安装验收表.DOC
- 塔桅结构三维定常风场风洞试验及数值模拟-建筑科学与工程学报.PDF
- 塔振动传感器GEL3010CANopen-LenordBauer.PDF
- 塔里木盆地轮南低凸起奥陶系原油运移示踪研究-断块油气田.PDF
- 塞默飞iCAP7200ICP-OES分析玩具样品中可迁移元素-赛默飞.PDF
- 填埋气体运移渗流场-应力场耦合模型及数值仿真-岩土力学.PDF
- 填料塔内液体分布对晃荡敏感性的研究进展-油气储运.PDF
- 增加约束条件的线性规划问题递推算法研究-控制与决策.PDF
- 增强心脏磁共振成像评价心房颤动患者射频消融术后左-中国循环杂志.PDF
- 增强现实技术-泉州五中信息技术学习网站首页.PPT
- 2024年中国钽材市场调查研究报告.docx
- 2024年中国不锈钢清洗车市场调查研究报告.docx
- 2024年中国分类垃圾箱市场调查研究报告.docx
- 2024年中国水气电磁阀市场调查研究报告.docx
- 2024年中国绿藻片市场调查研究报告.docx
- 2010-2023历年初中毕业升学考试(青海西宁卷)数学(带解析).docx
- 2010-2023历年福建厦门高一下学期质量检测地理卷.docx
- 2010-2023历年初中数学单元提优测试卷公式法(带解析).docx
- 2010-2023历年初中毕业升学考试(山东德州卷)化学(带解析).docx
- 2010-2023历年初中毕业升学考试(四川省泸州卷)化学(带解析).docx
文档评论(0)