Просмотр исходного кода

Link cuFFT with mingw import libs

master
Jan Svabenik 4 дней назад
Родитель
Сommit
5e13c73970
2 измененных файлов: 7 добавлений и 1 удалений
  1. +6
    -0
      .gitignore
  2. +1
    -1
      internal/fft/gpufft/gpu.go

+ 6
- 0
.gitignore Просмотреть файл

@@ -12,3 +12,9 @@ data/events.jsonl


# local prompts # local prompts
prompt*.txt prompt*.txt

# local cuda import libs
cuda-mingw/

# temp binaries
sdrd.exe~

+ 1
- 1
internal/fft/gpufft/gpu.go Просмотреть файл

@@ -3,7 +3,7 @@
package gpufft package gpufft


/* /*
#cgo windows LDFLAGS: -lcufft -lcudart
#cgo windows LDFLAGS: -lcufft64_12 -lcudart64_13
#include <cuda_runtime.h> #include <cuda_runtime.h>
#include <cufft.h> #include <cufft.h>
*/ */


Загрузка…
Отмена
Сохранить