|
|
2 giorni fa | |
|---|---|---|
| .. | ||
| build | 2 giorni fa | |
| native | 2 giorni fa | |
| README.md | 2 giorni fa | |
| batch.go | 2 giorni fa | |
| batch_runner.go | 2 giorni fa | |
| doc.go | 2 giorni fa | |
| errors.go | 2 giorni fa | |
| gpudemod.go | 2 giorni fa | |
| gpudemod_cufft_test.go | 2 giorni fa | |
| gpudemod_stub.go | 2 giorni fa | |
| gpudemod_test.go | 2 giorni fa | |
| gpudemod_windows.go | 2 giorni fa | |
| kernels.cu | 2 giorni fa | |
| validation.go | 2 giorni fa | |
| validation_extra.go | 2 giorni fa | |
| validation_extra_test.go | 2 giorni fa | |
| validation_runtime.go | 2 giorni fa | |
| validation_test.go | 2 giorni fa | |
Phase 1 CUDA demod scaffolding.
gpudemod_stub.go (!cufft).cufft builds allocate GPU buffers and cross the CGO/CUDA launch boundary.docs/build-cuda.md.kernels.cu contains the first candidate implementation:
gpud_freq_shift_kernelThis is not compiled automatically yet in the current environment because the machine currently lacks a CUDA compiler toolchain in PATH (nvcc not found).
On a CUDA-capable dev machine with toolchain installed:
kernels.cu into an object file and archive it into a linkable library
tools/build-gpudemod-kernel.ps1nvcc + MSVC cl.exe in PATHgpudemod_kernels.lib into the cufft buildgpud_launch_freq_shift(...) stub body with the real kernel launchdsp.FreqShiftThe runtime/buffer/recorder/fallback structure is already in place, so once kernel compilation is available, real acceleration can be inserted without another architecture rewrite.