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

基于Cache友好方法的数值计算代码优化
引用本文:高瑞泽,于剑,阎超. 基于Cache友好方法的数值计算代码优化[J]. 计算机工程, 2010, 36(5): 7-9
作者姓名:高瑞泽  于剑  阎超
作者单位:北京航空航天大学航空科学与工程学院,北京,100191
摘    要:
总结利用存储层级结构加速计算流体力学程序的研究现状,通过对现代CPU高速缓存(Cache)的结构分析,研究Cache友好方法对程序运算速度的影响。使用2种基于Cache友好的优化方法对FORTRAN编写的三维多区计算机流铨力学(CFD)计算代码进行优化,给出对三维LU-SGS的详细优化算法。在3种计算平台上的数值实验结果表明,优化后程序运行时间能减少到优化前的20%~50%。

关 键 词:高速缓存  计算流体力学  代码优化
修稿时间: 

Optimizations of Numerical Computational Code Based on Cache-friendly Method
GAO Rui-ze,YU Jian,YAN Chao. Optimizations of Numerical Computational Code Based on Cache-friendly Method[J]. Computer Engineering, 2010, 36(5): 7-9
Authors:GAO Rui-ze  YU Jian  YAN Chao
Affiliation:??School of Aeronautic Science and Engineering, Beijing University of Aeronautics and Astronautics, Beijing 100191??
Abstract:
This paper summarizes the overseas research situation of accelerating Computational Fluid Dynamics(CFD) codes using memory hierarchy techniques. The influence of Cache-friendly method on code efficiency is studied by means of analysis of modern CPU Cache structure. Three dimensional multi-block CFD FORTRAN code is optimized by two methods based on Cache-friendly method. A 3D optimized LU-SGS algorithm is presented. The numerical experiments executed in three kinds of microprocessors indicate that the running time of optimized code is from 20 percent to 50 percent of the original code.
Keywords:Cache  Computational Fluid Dynamics(CFD)  code optimization
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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