std1.0.0-beta-7 SafeC docs

std :: dsp::fft_cuda

Function std::cuda_fft_c2r

#include <std/dsp/fft_cuda.h> source ยท definition

int cuda_fft_c2r(
    struct CudaBuf in,
    struct CudaBuf out,
    unsigned long n,
    unsigned long batch,
)

batch x (n/2 + 1) complex -> batch x n real. Overwrites 'in' (cuFFT's complex-to-real transforms use their input as scratch).