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
Implement the second GPU pass: re-run forward DTCWT to recover Yl and amplitudes, apply modified phases, reconstruct coefficients, and run inverse DTCWT.
Context
Parent: #11 | PRD: #10 | Design:
docs/design/gpu-acceleration.mdSection B, Pass 2Goal
Implement the second GPU pass: re-run forward DTCWT to recover Yl and amplitudes, apply modified phases, reconstruct coefficients, and run inverse DTCWT.
Acceptance Criteria
_gpu_inverse_pass(data, phase_arrays, nlevels, biort, qshift, device)returns reconstructed(num_frames, H, W)float32 arrayDTCWTForwardto recover Yl and amplitudes (verified deterministic — 0.00 diff)real = amp * cos(phase),imag = amp * sin(phase), stacked to(B, 1, 6, H, W, 2)DTCWTInverse((Yl, Yh_modified))produces reconstructed frames(H, W)if inverse output is larger (padding)Blocked by
#15 (Slice 4) — needs modified phase arrays from temporal filter.
Files likely involved
motion_mag.py—_gpu_inverse_pass()functionTesting approach