You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function (g::CallGraph{T})(out::AbstractVector{T}, in::AbstractVector{U}, start_out::Int, start_in::Int, v::Direction, t::FFTEnum, idx::Int) where {T,U}
fft!(out, in, start_out, start_in, d, CompositeFFT(), g, idx)
17
-
elseif e == dft
18
-
fft!(out, in, start_out, start_in, d, DFT(), g, idx)
19
-
elseif e === pow2FFT
20
-
fft!(out, in, start_out, start_in, d, Pow2FFT(), g, idx)
21
-
elseif e === pow3FFT
22
-
fft!(out, in, start_out, start_in, d, Pow3FFT(), g, idx)
23
-
elseif e === pow4FFT
24
-
fft!(out, in, start_out, start_in, d, Pow4FFT(), g, idx)
7
+
functionfft!(out::AbstractVector{T}, in::AbstractVector{T}, start_out::Int, start_in::Int, d::Direction, t::FFTEnum, g::CallGraph{T}, idx::Int) where T
8
+
if t === compositeFFT
9
+
fft_composite!(out, in, start_out, start_in, d, g, idx)
25
10
else
26
-
throw(ArgumentError("kernel not implemented"))
11
+
root = g[idx]
12
+
if t == dft
13
+
fft_dft!(out, in, root.sz, start_out, root.s_out, start_in, root.s_in, _conj(root.w, d))
14
+
else
15
+
N = root.sz
16
+
s_in = root.s_in
17
+
s_out = root.s_out
18
+
if t === pow2FFT
19
+
fft_pow2!(out, in, N, start_out, s_out, start_in, s_in, _conj(root.w, d))
0 commit comments