yum-mirror/VkFFT

git clone https://git.yummers.dev/yum-mirror/VkFFT

Tolmachev DmitriiRader's algorithm v2 implementation in VkFFT -Added support for Rader FFT kernels that do prime-sized FFTs as prime-1 length convolution. v2 does this with the help of the convolution theorem greatly reducing the operation count. Rader FFT kernels can be inlined and combined (performed in one upload/download from VRAM) with regular Stockham radix kernels, multiplication Rader kernels, R2C/R2R optimizations, multi-upload sequences. The Rader FFT algorithm currently doesn't work for Sophie Germain safe primes, their multiples or if P-1 is divisible by a prime bigger than 13 - they fall back to Bluestein's algorithm. 2x+ performance improvements, the Rader algorithm is also more accurate. -Reworked the binary caching (saveApplicationToString/loadApplicationFromString). Now it works on all APIs. For CUDA 11.3+ it stores CUBIN instead of PTX now. -Reworked the dispatch workload split if it goes over maxComputeWorkGroupCount -Added disableSetLocale option for thread safety (#73), moves locale management to the user side. -New performance plots. -Bugfixes and performance tweaks.33109a0

v1.2.31
2.8 KiB26 linesraw
1cuFFT System: 32x32x1 Buffer: 0 MB avg_time_per_step: 0.012 ms std_error: 0.000 batch: 1000 benchmark: 682
2cuFFT System: 64x64x1 Buffer: 0 MB avg_time_per_step: 0.012 ms std_error: 0.000 batch: 1000 benchmark: 2699
3cuFFT System: 256x256x1 Buffer: 0 MB avg_time_per_step: 0.020 ms std_error: 0.000 batch: 1000 benchmark: 26171
4cuFFT System: 1024x256x1 Buffer: 2 MB avg_time_per_step: 0.062 ms std_error: 0.000 batch: 1000 benchmark: 33223
5cuFFT System: 512x512x1 Buffer: 2 MB avg_time_per_step: 0.070 ms std_error: 0.000 batch: 1000 benchmark: 29399
6cuFFT System: 1024x1024x1 Buffer: 8 MB avg_time_per_step: 0.346 ms std_error: 0.000 batch: 512 benchmark: 23648
7cuFFT System: 4096x1024x1 Buffer: 32 MB avg_time_per_step: 1.474 ms std_error: 0.001 batch: 128 benchmark: 22224
8cuFFT System: 2048x2048x1 Buffer: 32 MB avg_time_per_step: 1.659 ms std_error: 0.001 batch: 128 benchmark: 19749
9cuFFT System: 4096x4096x1 Buffer: 128 MB avg_time_per_step: 6.635 ms std_error: 0.001 batch: 32 benchmark: 19756
10cuFFT System: 64x64x64 Buffer: 2 MB avg_time_per_step: 0.101 ms std_error: 0.000 batch: 1000 benchmark: 20260
11cuFFT System: 128x128x128 Buffer: 16 MB avg_time_per_step: 0.857 ms std_error: 0.001 batch: 256 benchmark: 19114
12cuFFT System: 256x256x256 Buffer: 128 MB avg_time_per_step: 6.877 ms std_error: 0.002 batch: 32 benchmark: 19060
13cuFFT System: 512x256x64 Buffer: 64 MB avg_time_per_step: 3.319 ms std_error: 0.001 batch: 64 benchmark: 19747
14cuFFT System: 1024x1024x64 Buffer: 512 MB avg_time_per_step: 30.094 ms std_error: 0.021 batch: 8 benchmark: 17421
15cuFFT System: 4096x256x32 Buffer: 256 MB avg_time_per_step: 14.421 ms std_error: 0.004 batch: 16 benchmark: 18177
16cuFFT System: 2048x256x256 Buffer: 1024 MB avg_time_per_step: 59.631 ms std_error: 0.018 batch: 4 benchmark: 17584
17cuFFT System: 4096x4096x8 Buffer: 1024 MB avg_time_per_step: 70.576 ms std_error: 0.004 batch: 4 benchmark: 14857
18cuFFT System: 32768x64x1 Buffer: 16 MB avg_time_per_step: 0.973 ms std_error: 0.001 batch: 256 benchmark: 16836
19cuFFT System: 65536x64x1 Buffer: 32 MB avg_time_per_step: 1.974 ms std_error: 0.001 batch: 128 benchmark: 16602
20cuFFT System: 131072x64x1 Buffer: 64 MB avg_time_per_step: 3.348 ms std_error: 0.001 batch: 64 benchmark: 19573
21cuFFT System: 262144x64x1 Buffer: 128 MB avg_time_per_step: 6.734 ms std_error: 0.002 batch: 32 benchmark: 19464
22cuFFT System: 1048576x64x1 Buffer: 512 MB avg_time_per_step: 34.350 ms std_error: 0.023 batch: 8 benchmark: 15263
23cuFFT System: 4194304x64x1 Buffer: 2048 MB avg_time_per_step: 166.432 ms std_error: 0.053 batch: 2 benchmark: 12600
24cuFFT System: 8192x8192x1 Buffer: 512 MB avg_time_per_step: 27.226 ms std_error: 0.003 batch: 8 benchmark: 19256
25cuFFT System: 16384x16384x1 Buffer: 2048 MB avg_time_per_step: 168.023 ms std_error: 0.046 batch: 2 benchmark: 12481
26Benchmark score cuFFT: 18234