yum-mirror/VkFFT

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

Dmitrii TolmachevVersion 1.3 update of VkFFT -Major library design change - from single header to multiple header approach, which improves structure and maintainability. Now instead of copying a single file, the user has to copy the vkFFT folder contents. -VkFFT has been rewritten to follow the multiple-level platform structure, described in the VkFFT whitepaper. All algorithms have been split into respective files, which should ease an understanding of the library design by everybody. Multiple code duplication places have been restructured and unified (mainly the read/write part of kernels and pre/post-processing). -All math operations and most variables have been abstracted to a union container approach, that can either contain numbers or variable names. Not a full compiler, but the code generated is close to machine-like. There are no math sprintf calls in the actual code generator now. More details can be found here: https://youtu.be/lHlFPqlOezo -VkFFT supports arbitrary number of dimensions now. By defining VKFFT_MAX_FFT_DIMENSIONS, it is now possible to mimic fftw guru interface. Default 4. Innermost stride is always fixed to be 1, but there can be an arbitrary number of outer strides. to achieve innermost batching, initialize N+1 dim FFT and omit the innermost one using omitDimension[0] = 1. -Enabled fp16 for all backends. -Accuracy verification of the new version can be found here: vincefn/pyvkfft#25 -The new code structure will facilitate the implementation of many new features and performance improvements, so stay tuned.116bf7f

v1.3.1
28 files

files

sample_0_benchmark_VkFFT_single.cpp12.3 KiB
sample_1000_VkFFT_single_2_4096.cpp12.7 KiB
sample_1001_benchmark_VkFFT_double_2_4096.cpp12.8 KiB
sample_1003_benchmark_VkFFT_single_3d_2_512.cpp12.5 KiB
sample_100_benchmark_VkFFT_single_nd_dct.cpp15.3 KiB
sample_101_benchmark_VkFFT_double_nd_dct.cpp15.2 KiB
sample_10_benchmark_VkFFT_single_multipleBuffers.cpp12.2 KiB
sample_11_precision_VkFFT_single.cpp18.9 KiB
sample_12_precision_VkFFT_double.cpp18.6 KiB
sample_13_precision_VkFFT_half.cpp17.9 KiB
sample_14_precision_VkFFT_single_nonPow2.cpp25.9 KiB
sample_15_precision_VkFFT_single_r2c.cpp30.1 KiB
sample_16_precision_VkFFT_single_dct.cpp21.2 KiB
sample_17_precision_VkFFT_double_dct.cpp21.1 KiB
sample_18_precision_VkFFT_double_nonPow2.cpp25.9 KiB
sample_1_benchmark_VkFFT_double.cpp12.4 KiB
sample_2_benchmark_VkFFT_half.cpp13.2 KiB
sample_3_benchmark_VkFFT_single_3d.cpp14.2 KiB
sample_4_benchmark_VkFFT_single_3d_zeropadding.cpp15.2 KiB
sample_50_convolution_VkFFT_single_1d_matrix.cpp16.5 KiB
sample_51_convolution_VkFFT_single_3d_matrix_zeropadding_r2c.cpp17.3 KiB
sample_52_convolution_VkFFT_single_2d_batched_r2c.cpp18.9 KiB
sample_5_benchmark_VkFFT_single_disableReorderFourStep.cpp12.4 KiB
sample_6_benchmark_VkFFT_single_r2c.cpp13.7 KiB
sample_7_benchmark_VkFFT_single_Bluestein.cpp13.2 KiB
sample_8_benchmark_VkFFT_double_Bluestein.cpp13.2 KiB
user_benchmark_VkFFT.cpp11.4 KiB
utils_VkFFT.cpp44.8 KiB