基于异构编程模型的FFT算法实现和优化
CSTR:
作者:
作者单位:

1.湖南大学信息科学与工程学院;2.军事科学院国防科技创新研究院

作者简介:

通讯作者:

中图分类号:

基金项目:

国家重点研发计划项目(2022YFA1004303)


Implementation and Optimization of FFT Based on Heterogeneous Programming Model
Author:
Affiliation:

college of computer science and electronic engineering of hunan university

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    FFT(快速傅立叶变换)是一种广泛应用于科学和工程领域的算法,现实应用中数据规模较大,需要高效实现才能满足实际应用需求。为了研究使用异构编程模型高效实现FFT算法,以华为鲲鹏处理器和昇腾AI加速芯片为实验平台,以SYCL语言为异构编程语言,实现了Cooley-Tukey基-2时域抽取FFT算法的方法和优化策略,并且提出了一种数据对切重组优化算法,大幅提高了对硬件并行能力的利用率。使用异构编程模型实现快速傅立叶变换算法可以更好地发挥异构计算设备的性能优势,易于编程且具有更高的兼容性。测试表明,在一定规模下,优化后的算法性能相比于优化前快了220.39倍。

    Abstract:

    FFT is a computationally intensive process widely used in science and engineering, and efficient implementation is necessary to meet practical application requirements. The research is aimed to investigate the efficient implementation of FFT algorithms using heterogeneous programming models. Using Huaweis Kunpeng processor and Ascend AI acceleration chip as the experimental platform and SYCL language as the heterogeneous programming language, the method and optimization strategy of the Cooley-Tukey base-2 time-domain extraction FFT algorithm are implemented, and a data tangential recombination optimization algorithm is proposed, which greatly improves the utilization rate of hardware parallel capabilities. Using heterogeneous programming models to implement fast Fourier transform algorithms can better take advantage of the performance advantages of heterogeneous computing devices, which are easy to program and have higher compatibility. Benchmarks have shown that the optimized performance is 220.39 times faster than the unoptimized version in processing large datasets. This significant improvement in speed demonstrates the effectiveness of the optimization techniques.

    参考文献
    相似文献
    引证文献
引用本文
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2023-09-14
  • 最后修改日期:2023-10-20
  • 录用日期:
  • 在线发布日期: 2024-01-15
  • 出版日期:
文章二维码