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

基于图形处理器的球面Voronoi图生成算法优化
引用本文:王磊,王鹏飞,赵学胜,卢立托.基于图形处理器的球面Voronoi图生成算法优化[J].计算机应用,2015,35(6):1564-1566.
作者姓名:王磊  王鹏飞  赵学胜  卢立托
作者单位:1. 中国矿业大学(北京) 地球科学与测绘工程学院, 北京 100083; 2. 中国石油集团工程设计有限责任公司 北京分公司, 北京 100085
基金项目:国家自然科学基金资助项目,高等学校博士学科点专项科研基金资助项目
摘    要:基于四元三角格网(QTM)之间距离计算与比较的球面Voronoi图生成算法相对于扩张算法具有较高的精度,但由于需要计算并比较每个格网到所有种子点的距离,致使算法效率较低。针对这一问题,利用图形处理器(GPU)并行计算对算法进行实现,然后从GPU共享内存、常量内存、寄存器等三种内存的访问方面进行优化,最后用C++语言和统一计算设备架构(CUDA)开发了实验系统,对优化前后算法的效率进行对比。实验结果表明,不同内存的合理使用能在很大程度上提高算法的效率,且数据规模越大,所获得的加速比越高。

关 键 词:球面Voronoi图    统一计算设备架构    共享内存    常量内存    寄存器
收稿时间:2015-01-07
修稿时间:2015-04-02

Optimization of spherical Voronoi diagram generating algorithm based on graphic processing unit
WANG Lei,WANG Pengfei,ZHAO Xuesheng,LU Lituo.Optimization of spherical Voronoi diagram generating algorithm based on graphic processing unit[J].journal of Computer Applications,2015,35(6):1564-1566.
Authors:WANG Lei  WANG Pengfei  ZHAO Xuesheng  LU Lituo
Affiliation:1. College of Geoscience and Surveying Engineering, China University of Mining and Technology (Beijing), Beijing 100083, China;
2. Beijing Company, China Petroleum Engineering Company Limited, Beijing 100085, China
Abstract:Spherical Voronoi diagram generating algorithm based on distance computation and comparison of Quaternary Triangular Mesh (QTM) has a higher precision relative to dilation algorithm. However, massive distance computation and comparison lead to low efficiency. To improve efficiency, Graphic Processing Unit (GPU) parallel computation was used to implement the algorithm. Then, the algorithm was optimized with respect to the access to GPU shared memory, constant memory and register. At last, an experimental system was developed by using C++ and Compute Unified Device Architecture (CUDA) to compare the efficiency before and after the optimization. The experimental results show that efficiency can be improved to a great extent by using different GPU memories reasonably. In addition, a higher speed-up ratio can be acquired when the data scale is larger.
Keywords:spherical Voronoi diagram  Compute Unified Device Architecture (CUDA)  shared memory  constant memory  register
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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