Skip to content

SSDGADsss/vkWFR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vkWFR

基于Vulkan加速的加窗傅里叶脊算法

项目介绍

本项目在WFR算法基础上,使用Vulkan API利用GPU进行加速,在AMD Redeon 780M核显上其性能相较于Matlab有着最高超过1956.85%的性能提升,并且具备和Matlab版本相近的精度。为解决高速高分辨条纹图的处理奠定了基础。

如下是高斯窗口大小为10x10的Benchmark,其中CPU版本和Matlab均运行在AMD Ryzen 9700X处理器上,Vulkan程序运行在NVIDIA A10显卡上

Benchmark-10x10

如下是高斯大小为10x10下,其相较于Matlab计算结果的误差分布图,其最大误差均在5e-4以下。

ErrorDistribution

编译

依赖环境

构建

git clone https://github.com/SSDGADsss/vkWFR.git
cd vkWFR && mkdir build && cd build
cmake .. -GCMAKE_BUILD_TYPE=Release
make -j

使用

CMake Subproject

add_subdirectory(GPUVersion)

add_executable("Your Project")

target_link_libraries("Your Project" PUBLIC VkFFT)

Run Benchmark

在构建目录下有GPUBenchmarkCPUBenchmark两个可执行文件,运行即可获得性能数据

About

Windowed Fourier ridge algorithm based on Vulkan implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors