摘要
通过讨论自然对数底e计算的并行结构,分别实现了Window多线程、OpenMP、MPI和OpenCL四种语言计算e值。其中前三种是基于CPU的并行模式,openCL基于GPU的并行模式。根据数值实验的结果,分析了各种并行计算模式的优缺点。
By discussing the parallel structure of the natural logarithm base e,The calculation of the natural logarithm is achived with Window multi-thread,OpenMP,MPI and OpenCL four languages.The first three are CPU-based parallel mode,OpenCL is based GPU parallel mode.According to the results of numerical experiments,the advantages and disadvantages of the various parallel computing model is discussed.
出处
《电脑知识与技术(过刊)》
2013年第5X期3415-3419,共5页
Computer Knowledge and Technology
基金
国家大学生创新性实验项目"儿童上网管理及姿态矫正"(111042557)