- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
多核并行编程技术在中文分词程序优化中的应用.pdf
计算机工程与设计 Computer Engineering and Design ( )
董丽丽,刘明生,袁香菊:多核并行编程技术在中文分词程序优化中的应用 2010,31 24 5231
体系结构与外围设备
多核并行编程技术在中文分词程序优化中的应用
董丽丽, 刘明生, 袁香菊
( 西安建筑科技大学信息与控制工程学院,陕西 西安710055)
摘 要:为了充分利用多核处理器的硬件资源和计算能力,提出了多核并行编程技术在中文分词程序中的优化方案。根据
中文分词最大正向匹配算法的特点,由传统的串行程序,改为并行程序。利用多核并行编程模式的思想,设计了一个混合并
行编程模式。通过Intel 的性能分析工具,找出了该算法的热点和瓶颈,对其进行优化。实验结果表明,优化过后的执行时间
较原来串行程序的执行时间缩短了50%~60%,同时提高了程序的加速性能,取得了良好的效果。
关键词:多核并行; 并行编程模式; 程序优化; OpenMP; 中文分词
中图法分类号:TP311.52 文献标识码:A 文章编号:1000-7024 (20 10) 24-523 1-05
Application of multi-core parallel programming technology in Chinese word
segmentation optimization
DONG Li-li, LIU Ming-sheng, YUAN Xiang-ju
(College of Information and Control Engineering, Xi ’an University of Architecture and Technology, Xi ’an 710055, China)
Abstract :To take full advantage of multi-core processors hardware resources and computing capacity, application of multi-core parallel
programming technology in the Chinese word segmentation optimization scheme is provided. According to the Chinese word forward
maximum matching algorithms characteristic, from the traditional serial programs instead of parallel program . Mix programming model
is designed by the use of multi-core parallel programming mode of thinking. The algorithm hot spots and bottlenecks are identified by
the Intel ’s performance analysis tools, and then optimize it. Finally, the parallel programs optimize execution time is shortened by
50%~60% compared to the serial program is demonstrated by experiments, and the program also increased speedup performance, which
achieves the expected effects.
Key words :multi-core parallel; parallel programming models; program optimization; OpenMP; Chinese word segmentation
文档评论(0)