From 5e13c7397012e358bf755d4af23559d454f72741 Mon Sep 17 00:00:00 2001 From: Jan Svabenik Date: Tue, 17 Mar 2026 19:37:07 +0100 Subject: [PATCH] Link cuFFT with mingw import libs --- .gitignore | 6 ++++++ internal/fft/gpufft/gpu.go | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a4c036b..b4e8f66 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,9 @@ data/events.jsonl # local prompts prompt*.txt + +# local cuda import libs +cuda-mingw/ + +# temp binaries +sdrd.exe~ diff --git a/internal/fft/gpufft/gpu.go b/internal/fft/gpufft/gpu.go index c2b3335..5ba0341 100644 --- a/internal/fft/gpufft/gpu.go +++ b/internal/fft/gpufft/gpu.go @@ -3,7 +3,7 @@ package gpufft /* -#cgo windows LDFLAGS: -lcufft -lcudart +#cgo windows LDFLAGS: -lcufft64_12 -lcudart64_13 #include #include */