首页 | 本学科首页   官方微博 | 高级检索  
     

多核计算机上的并行计算
引用本文:李斌,李海玉,孙延君.多核计算机上的并行计算[J].电脑编程技巧与维护,2011(18):34-35.
作者姓名:李斌  李海玉  孙延君
作者单位:空军航空大学计算机教研室,长春,130022
摘    要:研究了多核计算机上0penMP+Vc++编程模式的并行程序,并在双核和四核计算机上分别使用传统算法和并行算法计算数列求和、矩阵乘积及矩阵Cholesky分解。试验表明,传统串行程序只能利用多核计算机的一个核资源,而采用OpenMP程序的并行效率很高。

关 键 词:多核编程  OpenMP  加速比

Parallel Computation on Multi-core Computers
LI Bin,LI Haiyu,SUN Yanjun.Parallel Computation on Multi-core Computers[J].Computer Programming Skills & Maintenance,2011(18):34-35.
Authors:LI Bin  LI Haiyu  SUN Yanjun
Affiliation:LI Bin,LI Haiyu,SUN Yanjun(Computer Office,Aviation University of Air Force,Changchun 130022)
Abstract:Parallel programming in VC++ using OpenMP on multi-core computers are studied.The serial and concurrent experiments of summation,matrix-matrix multiplication,and Cholesky factorization are implemented on 2-core and 4-core computers respectively.Experiment results show that the serial program can only use one core of multi-core computers.Meanwhile,the parallel efficiency of the program using OpenMP is very high.
Keywords:multi-core programming  OpenMP  speedup rate  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号