|
|
пре 2 дана | |
|---|---|---|
| .. | ||
| build | пре 2 дана | |
| README.md | пре 2 дана | |
| doc.go | пре 2 дана | |
| gpudemod.go | пре 2 дана | |
| gpudemod_cufft_test.go | пре 2 дана | |
| gpudemod_stub.go | пре 2 дана | |
| gpudemod_test.go | пре 2 дана | |
| kernels.cu | пре 2 дана | |
| validation.go | пре 2 дана | |
| validation_extra.go | пре 2 дана | |
| validation_extra_test.go | пре 2 дана | |
| validation_test.go | пре 2 дана | |
Phase 1 CUDA demod scaffolding.
gpudemod_stub.go (!cufft).cufft builds allocate GPU buffers and cross the CGO/CUDA launch boundary.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.ps1ar.exegpudemod_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.