基于CUDA的Bezier曲线生成算法并行化研究
Research on the Parallelization of Bezier Curve Generation Algorithm Based on CUDA
摘要:
针对Bezier曲线在几何造型系统和图形软件中的重要作用,提出了一种基于CUDA的对Bezier曲线进行计算的方法。在分析CUDA异构计算架构和Bezier曲线采样点计算独立性的基础上,在GPU上开启多线程对Bezier曲线进行计算。并根据控制顶点在采样点计算过程中不改变的特性,在存储器层次对采样点的计算进行优化。实验结果表明,基于CUDA改进后的Bezier曲线生成算法性能有了显著的提高。
Abstract:
The Bezier curve is essential for geometric modeling system and graphic software. A method of calculating Bezier curve based on CUDA is proposed. Based on the analysis of the CUDA isomeric computing architecture and the independence of the Bezier curve sampling points, the multiple threads were opened on the GPU to calculate the Bezier curve. According to the characteristic that the control vertex does not change during the calculation of the sampling point, the calculation of the sampling point was optimized at the memory level. The experimental results show that the performance of Bezier curve generation algorithm based on CUDA has been improved remarkably.
参考文献
|
[1]
|
白洪涛. 基于GPU的高性能并行算法研究[D]: [博士学位论文]. 长春: 吉林大学, 2010.
|
|
[2]
|
NVIDIA Corporation. (2015) CUDA C Programming Guide Version 7.5.
|
|
[3]
|
Jason Sanders, Edward Kandrot. GPU高性能编程—CUDA实战[M]. 北京: 机械工业出版社, 2011.
|
|
[4]
|
The Regents of the University of Michigan. http://glotzerlab.engin.umich.edu/hoomd-blue/
|
|
[5]
|
Govindaraju, N.K., Lloyd, B., Wang, W., Lin, M. and Manocha, D. (2004) Fast Computation of Database Operations Using Graphics Processors. Proceedings of the ACM SIGMOD International Conference on Management of Data, Paris, 13-18 June 2004, 215-226.
|
|
[6]
|
朱鉴, 吴恩华. 基于GPU的球面深度图实时绘制[J]. 计算机学报, 2009, 32(2): 231-240.
|
|
[7]
|
杨正龙, 金林, 李蔚清. 基于GPU的图形电磁计算加速算法[J]. 电子学报, 2007, 35(6): 1056-1060.
|
|
[8]
|
陈波. 基于CPU-GPU异构平台的性能优化及多核并行编程模型的研究[D]: [硕士学位论文]. 合肥: 中国科学技术大学, 2011.
|
|
[9]
|
杨钦, 徐永安, 翟红英. 计算机图形学[M]. 北京: 清华大学出版社, 2005.
|
|
[10]
|
仇茹. Bezier曲线曲面造型技术研究[D]: [硕士学位论文]. 芜湖: 安徽师范大学, 2015.
|
|
[11]
|
洪玲. 有理Bézier曲线的扩展及应用[D]: [硕士学位论文]. 合肥: 合肥工业大学, 2015.
|
|
[12]
|
Cook, S. (2012) CUDA Programming: A Developer’s Guide to Parallel Computing with GPUs. Publishing house, location, 147-153.
|
|
[13]
|
侯立华. 图像分割方法综述[J]. 科技创新导报, 2008, 22: 249.
|
|
[14]
|
DavidB. Kirk, Wen-meiW.Hwu. 大规模并行处理器编程实战[M]. 北京: 清华大学出版社, 2013.
|
|
[15]
|
施法中, 韩道康. Bézier基函数的导出[J]. 航空学报, 1980, 1(1): 92-98.
|